On Wed, 30 Jul 2003 12:34:17 -0400, in cf-talk you wrote:
><cfset Session.myString1='abcdefg'>
><cfset Session.myString2='abcdefg'>
><cfset Session.myString3='abcdefg'>
><cfoutput>
> <textarea><cfloop from="1" to="3"
>index="idx">#Session['myString#idx#']#<cfif idx neq
>3>#chr(10)##chr(13)#</cfif</cfloop></textarea>
></cfoutput>
While it probably works in a browser, anyway, it ought to be
#chr(13)##chr(10)#, in general. (They were transposed above.)
I like to abstract it:
crlf = chr(13) & chr(10);
writeoutput("break between here#crlf#and here");
Jamie
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
Get the mailserver that powers this list at
http://www.coolfusion.com
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4