Create a carriage-return line-feed pair <CFSET CRLF = #CHR(13)# & #CHR(10)#>
and append it to the string wherever you want a new line to start <cfset mystring = mystring & #CRLF#> HTH DavidB -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 12:01 PM To: CF-Talk Subject: CFFILE and carriage returns I am trying to write files using <CFFILE> and I would like to have carriage returns in the file to make it look something like below: Workshop Registration Information startDate: blah endDate: blah workshopID: blah title: blah ... Right now, I am creating a variable called orderInfo and writing that to the file. The problem is that my file ends up with everything on one long line and looks something like below: Workshop Registration Information startDate: blah endDate: blah workshopID: blah title: blah ... Anyone know how to solve this? Any suggestions would be really appreciated. --Jeff ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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