Fair enough. I have parsed CSVs a number of times, I guess I've been lucky in that one of the design criteria was no occurances of the delimiter within data elements. Certainly if there is a chance of that, then sure, you need something more advanced.

Frank


Don Seiler wrote:
On 17:46 Wed 25 May     , Frank W. Zammetti wrote:

I might be missing something, but doesn't StringTokenizer do the trick for you?


Anyone with experience parsing CSVs knows there are the cases of
delimiters within quotes that make the parsing a bigger headache than
just using StringTokenizer (or String.split()).  Why else would there be
so many other third-party APIs for it?


Don Seiler wrote:

Afternoon.  Just writing to ask if anyone knows of any commons/jakarta
packages that may do CSV parsing and writing.  I'm aware of the jcsv
package but thought I would try and utilize commons as much as possible.
I looked at jakarta-oro as well but don't seem to see anything CSV
related.

Thanks in advance.



--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to