reverse
reverse(): String;
The reverse method of the String primitive type returns a string consisting of the receiving string with the position of all characters reversed. For example, a string that contains "abcde" is returned as "edcba". The following example shows the use of the reverse method.
vars
stringValue : String;
begin
stringValue := 'abcde';
write stringValue.reverse; // Outputs 'edcba'
end;
