Removes leading and trailing spaces and control characters from a string.
A copy of the string parameter, after removing leading and trailing spaces and control characters.
Trim(string)
<cfscript> string=" This is a typical Hello World string " writeOutput(Trim(string)) </cfscript>
Sign in to your account