Railo 4.2 Reference
Choose a function:

Object Method String.trim

Removes leading and trailing spaces from a string.
String.trim():string

Arguments

This function has no arguments