Skip to content

$REverse()

$REverse()

Returns a string with the characters in the reverse order from that of its argument.

The format for the $REVERSE function is:

$RE[VERSE](expr)
  • The expr in the syntax is the string to be reversed.

Examples of $REVERSE()

Example:

GTM>write $reverse(123)
321
GTM>write $reverse("AbCDe")
"eDCbA"