Lucee Function Reference

Function TRIM

Removes leading and trailing spaces from a string.

Example

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