Railo 4.2 Reference
Choose a function:

Object Method String.rtrim

Removes spaces from the end of a string.
String.rtrim():string

Arguments

This function has no arguments