REVERSE
Reverses the input string.
Syntax
REVERSE( string )
The following table describes the argument for this command:
Argument | Required/ Optional | Description |
---|
string | Required | Any character value. Value you want to reverse. |
Return Value
String. Reverse of the input value.
Example
The following expression reverses the numbers of the customer code:
REVERSE( CUSTOMER_CODE )
CUSTOMER_CODE | RETURN VALUE |
---|
0001 | 1000 |
0002 | 2000 |
0003 | 3000 |
0004 | 4000 |