reverse Method

Class: String

Description

This method reverses the positions of the characters in a string. For example, if the string "1234" is reversed, the resulting string is "4321". This method replaces the $REVERSE() function.

Syntax

StringObject.reverse()

Parameters

None.

 

Returns

A String.

When Became Available

v7.0

Example

type String STR = "Abc/Defg#89"

type String RTS = STR.reverse()   // "98#gfeD/cbA"