I think for Windows it is Replace(bd_desc,chr(13)&chr(10),"<br>","ALL")

Notice there are no quotes around the crlf. Also, using "#var#" as you
do is a bit of overkill. I think there is an article on HOF about using
#-signs.

Pascal Peters
Certified ColdFusion MX Advanced Developer
Macromedia Certified Instructor
LR Technologies
Av. E. De Mot, 19
1000 BRUSSELS, BELGIUM
Tel: +32 2 639 68 70
Fax: +32 2 639 68 99
Email: [EMAIL PROTECTED]
Web: www.lrt.be

-----Original Message-----
From: Eric Creese [mailto:[EMAIL PROTECTED] 
Sent: donderdag 26 juni 2003 16:46
To: CF-Talk
Subject: RE: Carriage returns


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")>
                                

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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