[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: Reading CSV
- From: Thijs Schreijer <thijs@...>
- Date: Wed, 4 Dec 2013 12:46:50 +0000
> -----Original Message-----
> From: lua-l-bounces@lists.lua.org [mailto:lua-l-bounces@lists.lua.org] On
> Behalf Of Elias Barrionovo
> Sent: woensdag 4 december 2013 12:54
> To: Lua mailing list
> Subject: RE: Reading CSV
>
> On Dec 4, 2013 8:21 AM, "Thijs Schreijer" <thijs@thijsschreijer.nl> wrote:
> > I don't understand this is the readme, under Issues; "It won't cope with
> > multiple delimiter characters between fields as might be seen in a
> > whitespace delimited file. Instead it'll think there's lots of empty
> > fields."
> > (...)
> > The multiple delimiters should result in an empty field 'zip' in this
> case,
> > so that is expected behavior, not an 'issue' imo. What am I missing?
>
> I think he meant that in a space-separated file, if you happen to put 2
> spaces between 2 fields, it will read it as 3 fields, with the middle one
> being empty.
That would still be expected behaviour, multiple spaces or multiple commas should not make a difference when parsing. Right?
- References:
- Reading CSV, Geoff Leyland
- Re: Reading CSV, Sean Conner
- Re: Reading CSV, Geoff Leyland
- Re: Reading CSV, Sean Conner
- Re: Reading CSV, Geoff Leyland
- Re: Reading CSV, Jorge
- Re: Reading CSV, Claire Lewis
- Re: Reading CSV, Geoff Leyland
- RE: Reading CSV, Thijs Schreijer
- RE: Reading CSV, Elias Barrionovo