Reverses the order of items, such as the characters in a
string, the digits in a number, or the elements in an array.
Lucee Function Reference
Function REVERSE
Example
reverse(string string):string
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Description |
---|---|---|---|
string | string | Yes | A string or a variable that contains one |