Ok I am getting lost here now.

here is my code, what am I doing wrong?

<cfset bad_desc_txt = Replace("#bd_desc#","chr(10)&chr(13)","<br>","ALL")>
                                

-----Original Message-----
From: Mike Townend [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 26, 2003 9:39 AM
To: CF-Talk
Subject: RE: Carriage returns


I tend to use

Replace(sfoo, Chr(10), "<br>", "ALL")

HTH



-----Original Message-----
From: Eric Creese [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 26, 2003 15:30
To: CF-Talk
Subject: RE: Carriage returns


This is what I got,  but I need the carriage return value please

REReplace("bd_desc","????????????","<br>","ALL")

-----Original Message-----
From: Thomas Chiverton [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 26, 2003 9:09 AM
To: CF-Talk
Subject: Re: Carriage returns


On Thursday 26 Jun 2003 15:01 pm, Eric Creese wrote:
> Does anyone have handy the replacement code for carriage returns to be 
> replaced with a <br>? I can not remember the syntax?

http://livedocs.macromedia.com/cfmxdocs/CFML_Reference/functions-pt269.jsp#1
111522

-- 
Thomas C
Advanced ColdFusion Programmer

PLEASE NOTE: When the Recipient Is Not Directly Observing This E-mail, It
May 
Cease to Exist or Will Exist Only in a Vague and Undetermined State. PLEASE
ALSO NOTE: I don't speak for the company that sent this.




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to