STR_REVERSE

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

Syntax

STR_REVERSE (String)

Parameters

Parameter Description Format
String Alphanumeric string that should be processed. Script literal or script variable

Return Codes

The script function returns the string whose characters have been reversed.

Examples

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

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

:PRINT &RET#

See also: