AnsiReverseString
Belongs to : FunctionDescription
The AnsiReverseString function returns the Source string with its characters reversed.
Example code
1 2 3 4 5 6 7 8 9 10 11 12 |
var source, target : AnsiString; begin source := '123456789'; target := AnsiReverseString(source); ShowMessage('Source = '+source); ShowMessage('Target = '+target); end; Show full unit code Source = 123456789 Target = 987654321 |