RTrim (string)
Deletes spaces from the end of a string.
<cfset exampleString = "This string has spaces at the end. "> <cfoutput> The trimmed string: "#Rtrim(exampleString)#" </cfoutput>