If anyone wants one, I’ve got a DelimParser class that handles
different
delimiters and quote marks as well as delimiters, escaped
characters, and
doubled quotes that appear in the data.It doesn’t use regexps. It’s a simple state machine that walks
through each character in the input.Ask and thou shall receive.
I’d like to get a copy of that please.
I’ve used http://raa.ruby-lang.org/list.rhtml?name=csv in the past,
and while it works for my feeble CSV needs, I find the interface
somewhat [overly] complex.
···
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com