equal
deleted
inserted
replaced
1085 |
1085 |
1086 if (text == NULL) return NULL; |
1086 if (text == NULL) return NULL; |
1087 |
1087 |
1088 CleanupStack::PushL( text ); |
1088 CleanupStack::PushL( text ); |
1089 TPtr ptr( text->Des() ); |
1089 TPtr ptr( text->Des() ); |
1090 ptr = ptr.LeftTPtr( CursorPos() ); |
|
1091 TInt location = ptr.LocateReverse( KCharAddressDelimeterSemiColon ); |
1090 TInt location = ptr.LocateReverse( KCharAddressDelimeterSemiColon ); |
1092 if( location != KErrNotFound ) |
1091 if( location != KErrNotFound ) |
1093 { |
1092 { |
1094 ptr = ptr.RightTPtr( ptr.Length() - location -1 ); |
1093 ptr = ptr.RightTPtr( ptr.Length() - location -1 ); |
1095 ptr.TrimLeft(); |
1094 ptr.TrimLeft(); |