REVERSE (reversing string)


REVERSE instruction sets value of the variable in reversed characters order.

Syntax

REVERSE <variable>

where variable contains a string value which characters order must be reversed.

Example

SET &STR = 'DESSERTS'
REVERSE &STR                          --> After reversing, value of &STR variable will be 'STRESSED'


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*