Trim (string)
Removes leading and trailing spaces from a string.
<cfset exampleString = " This is a string with spaces "> <cfoutput> With the spaces trimed: #Trim(exampleString)# </cfoutput>