|
Posted by Ben C on 08/08/07 15:20
On 2007-08-08, David Dorward <dorward@gmail.com> wrote:
> On Aug 8, 9:25 am, "Elliot J" <elli...@x-x.co.uk> wrote:
>
>> Ah yeah, my bad. I did find the downloable resource pack on my return to the
>> site. Can't find any examples of dynamically streaming my data from CSV
>> files though
>
> Writing a CSV parser in JS shouldn't be too tricky, although it would
> probably be a half dozen line program in Perl with the Text::CSV and
> JSON modules.
CSV parsers are harder than they look. You'd think it would just be
s.split(/\s*,\s*/) or something, but CSV has some rather nasty quoting
and/or escaping rules.
[Back to original message]
|