REVERSE
Reverses the order of all characters in a string.
Syntax
REVERSE(string)
Arguments
| Argument | Description | Default |
|---|---|---|
| string | The string to reverse. | None |
Results
| Result | Description |
|---|---|
| Return | Contents of string with the order of all characters reversed. |
| %%RC | Always set to 0. |
| %%RM | A null string (''). |
| %%RV | Always set to 0. |
Examples
| Function Call | Return |
|---|---|
| REVERSE('Reverse') | 'esreveR' |
| REVERSE('X0040105X') | 'X5010400X' |