> You can do a <cfset NewString = Replace(String, "#CHR(10)##CHR(13)#",
> "<br>", "ALL")> to replace the CR/LF. I may have those backwards (the 10
> and 13), but that will give you the results you're looking for.
Don't pick on them both (and it's 13 then 10), pick on just one - not all
browsers send both back from a TEXTAREA if you're taking your data from a
form - I normally replace Chr(13) with a <br>
Philip Arnold
Director
Certified ColdFusion Developer
ASP Multimedia Limited
T: +44 (0)20 8680 1133
"Websites for the real world"
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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