James Perkins wrote:
You have to read the stream file, strip out leading and trailing quotes
making sure to keep quotes within a string in tact. You also have to make
sure you don't get a comma in the middle of a string and assume that to be
delimiter.

Good point. I've been lucky enough to only have to handle CSV files without quotes.

Still, I feel that it's worth doing right once. Then you have something you can reuse, and something much more flexible than other methods mentioned earlier.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.