There are a lot of ways to do that, probably much simpler than the
following.

I'd just use Find() to locate the spaces and replace them with line breaks,
creating a new string var as you go, then output the new string.



>The contents of "text.txt" reads as follows:
>file1.txt
>file2.txt
>file3.txt
>file4.txt
>file5.txt
><cffile action="READ"
>         file="c:\text.txt"
>         variable="ReadMe">
>
>               <cfoutput>
>                       <p>#ReadMe#</p>
>               </cfoutput>
>The above outputs like:
>file1.txt file2.txt file3.txt file4.txt file5.txt
>How can I get it to output like:
>file1.txt
>file2.txt
>file3.txt
>file4.txt
>file5.txt

______________________________________________________________________
Dedicated Windows 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=coldfusiona
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

Reply via email to