InvertString

InvertString (String)
InvertString turns a string around so that characters are in reverse
order. This allows for correct string compares and sorts in Hebrew and
Arabic and other languages that are read from right to left.
Example:
var St
St = 'ABCDE'
InvertString(St)
Writeln St ;Returns 'EDCBA'

