Tags · Functions · Objects
Lucee Function Reference
Choose a function:

Function TRIM

Removes leading and trailing spaces from a string.

Example

trim(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 the string to trim