Reverses the order or characters in a string.
Reverse ( string )
Argument |
Description |
---|---|
string |
A string whose characters you want to reorder so that the last character is first and the first character is last |
String. Returns a string with the characters of string in reversed order. Returns the empty string if it fails.
Reverse is useful with the IsArabic and IsHebrew functions, which help you implement right-to-left character display when you are using a version of Windows that supports right-to-left languages.
Under a a version of Windows that supports right-to-left languages, this statement returns a string with the characters in reverse order from the characters entered in sle_name:
string ls_name
ls_name = Reverse(sle_name.Text)