I am creating a string that will be output to a web page. I cannot seem to
get a new line to print.

str1 = "This is part 1."

str2 = str1 & "\n"

str3 = str2 & "This is part 2"

Later

<cfoutput>#str3#</cfoutput>

This outputs -
This is part1.\n This is part2.

I have tried other things like

str2= str1 & Chr(10) & Chr(13)
str2 = str1 & "#Chr(10)#" & "#Chr(13)#"

None of them have worked. Any ideas?



Thanks


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318408
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to