Inside Coldfusion MX

"-->

StripCR (string)

Description

Deletes return characters from a string.

Example

<cfset exampleString = "This is a paragraphs that has line returns.#Chr(10)##Chr(10)#The function will erase them."> <cfoutput> <p><pre>#exampleString#</pre></p> <p>#StripCR(exampleString)#</p> </cfoutput>

Категории