STR_REVERSE

Use the STR_REVERSE script function to reverse the order of the characters within a string.

Syntax

STR_REVERSE (String)

Parameters

  • STR_REVERSE

    Reverses the order to the characters within a string

  • String

    Alphanumeric string that should be processed

    Format: script literal or script variable

Return code

String whose characters have been reversed

Example

The example prints the result "EA" in the activation report.

:SET &RET# = STR_REVERSE("AE")

:
PRINT &RET#

See also: