You missed one.
Wouldn't want to doom any kitten today  :)

rereplace(rereplace(trim(form.mystring),"&quot;","""","all"),chr(13),"<b
r>","all")


-----Original Message-----
From: Charlie Griefer [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 24, 2007 12:00 PM
To: CF-Talk
Subject: Re: replace carriage returns

If you go that route, I'd offer up the suggestion of cleaning up the
extra # signs a bit.

<cfset newstring =
rereplace(rereplace(trim(form.mystring),"&quot;","""",
"all"),"#chr(13)#","<br>","all") />

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287061
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to