Ah, I see. I had it backwards -- I thought you were creating the file, not reading it.
You could do some rudimentary parsing on each line as it's read. Look to see if there are the right number of delimiters (like paired double quotes or whatever) using a regular expression. If not, append the next line. Repeat until you've got the right number of data elements (or error if too many!) and then insert. --Ben Aaron Rouse wrote: > Ben, > > Normally I would just replace it with a space and leave it at that. > What I do not know how to do is to apply said replace before the > readLine() function is applied. It would have to be a replace that is > conditional, meaning only happens if the CR is found within double > quotes. Guess the question is more Java related than anything else. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Silver Sponsor - RUWebby http://www.ruwebby.com Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186458 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

