Inside Coldfusion MX

Trim (string)

Description

Removes leading and trailing spaces from a string.

Example

<cfset exampleString = " This is a string with spaces "> <cfoutput> With the spaces trimed: #Trim(exampleString)# </cfoutput>

Категории