Here's Macromedia's copy of the online (server) documentation for CF5. You may find better documentation of tags and functions there. Follow CFML Reference -> ColdFusion Functions for the function reference.
http://livedocs.macromedia.com/cf50docs/dochome.jsp In the original web page that you're pulling, they display it using <pre></pre>. The text includes either carriage-return/linefeed pairs, or else just linefeeds, which a browser will break within a <pre> tag. If you need to display it without the <pre> and want to keep the breaks, use something like the following to turn them into <br>'s. <cfset mystring = Replace(mystring, "#Chr(13)##Chr(10)#", "<br>", "all")> or possibly <cfset mystring = Replace(mystring, "#Chr(10)#", "<br>", "all")> Jim ----- Original Message ----- From: "Jeff Fongemie" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Friday, January 25, 2002 9:01 PM Subject: Re: replace list???? > Hello cf-talk, > > You guys are good! A couple more questions. > > 1. Any good books to better explain usage of these functions? The > help that comes with CFstudio is not very detailed. > > 2. I got it working fine, and it did what I was looking for, but now > I'd like to be able to get the text to wrap. I end up with this text > that is quite wide before it turns a new line. I've been trying some > of the other functions, but with no help. > > I think what I'll need to do is add some <br> in there. Replace > something with a <br> > > Does this sound right?? > > This is what I'm using so far. > > #ReplaceList(cfhttp.fileContent,"UPDATED > ANDROSCOGGIN-INTERIOR WALDO-KENNEBEC-NORTHERN CARROLL-SOUTHERN > CARROLL-SOUTHERN FRANKLIN-SOUTHERN GRAFTON-SOUTHERN OXFORD-SOUTHERN > SOMERSET- > INCLUDING THE CITIES OF...AUGUSTA...CONWAY...FARMINGTON...LEBANON... > LEWISTON...OSSIPEE...RUMFORD...SKOWHEGAN...UNITY", "<BR>") # ______________________________________________________________________ Why Share? Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

