Yep, <br> is what you need. Look at your source code and I bet you see all kinds of line breaks. ;^)
-----Original Message----- From: Dave Watts [mailto:[email protected]] Sent: Friday, January 23, 2009 9:55 AM To: cf-talk Subject: Re: New line > 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? The HTML tag to create a line break is the BR tag: <br/> Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:318410 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

