> What is the best way to strip CRs and LFs from a string?

<cfset crlf = chr(13)&chr(10)>
<cfset stripped = replacelist(myString,crlf,"")>

Should do the trick.

- Sean
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to