I think you could use <cfset ReadMe = Replace(ReadMe, Chr(13) & Chr(10), "," , "ALL")>
then treat ReadMe as a comma separated list to loop through to generate the checkboxes Alex -----Original Message----- From: phumes1 [mailto:[EMAIL PROTECTED]] Sent: 21 February 2002 15:47 To: CF-Talk Subject: Re: <CFLOOP Hi, I'm reading in a ascii file that I need to loop through to add an <input box in front of each entry. <cffile action="READ" file="c:\text.txt" variable="ReadMe"> <cfset ReadMe = Replace(ReadMe, Chr(13) & Chr(10), "<br>", "ALL")> <cfoutput> #ReadMe# </cfoutput> Outputs: file1 file2 file3 file4 file5 What I need to to is loop through the above variable and output the following using <cfinput type="Checkbox" name="select" value="#ReadMe#">#ReadMe#<br> [ ] file1 [ ] file2 [ ] file3 [ ] file4 [ ] file5 ______________________________________________________________________ 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

