To expand on what Ben said below... try this: Replace(string,Chr(13),"<br>","ALL")
-Novak ----- Original Message ----- From: "Ben Doom" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Friday, April 04, 2003 10:42 AM Subject: RE: Formatting output question > Use replace() to add <br> tags to the carriage returns. > > > -- Ben Doom > Programmer & General Lackey > Moonbow Software, Inc > > : -----Original Message----- > : From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > : Sent: Friday, April 04, 2003 1:40 PM > : To: CF-Talk > : Subject: Formatting output question > : > : > : I have a message form where users submit a form via a textarea > : box. In this textarea box they may make a carriage return. When I > : output the message everything is on one line and the carriage > : returns are not there. I looked in the datbase and the lines are > : setup with carriage returns. > : > : Example > : aaaaa > : bbbbb > : ccccc > : > : When I out put I get > : aaaaa bbbbb ccccc > : > : How do I format this to keep the carriage returns? > : > : .................................... > : Get your own free email account from > : http://www.popmail.com > : > : > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

