Lucee Function Reference

reverse()

Reverses the order of items, such as the characters in a
string, the digits in a number, or the elements in an array.

Example

reverse(string string):string

Category

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