I could see how that would be done when using CFFile and parsing
through the file.  However I am missing how to do it when using this
other approach.  I must admit I am going on only my first cup of
coffee right now so my lack of "thinking juice" might be the cause for
lack of vision right now ;)

-- 
Aaron Rouse
http://www.happyhacker.com/

On Tue, 07 Dec 2004 10:22:50 -0500, Ben Doom <[EMAIL PROTECTED]> wrote:
> 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 Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186459
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to