lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> -----Original Message-----
> From: lua-l-bounces@lists.lua.org [mailto:lua-l-bounces@lists.lua.org] On
> Behalf Of Geoff Leyland
> Sent: woensdag 4 december 2013 10:23
> To: Lua mailing list
> Subject: Re: Reading CSV
> 
> On 4/12/2013, at 5:14 pm, Claire Lewis <claire_lewis@live.com.au> wrote:
> 
> > Or perhaps MIT, like Lua itself, would be more appropriate.
> 
> I agree.  Here[1] it is.  Feedback, namespaces, random UUIDs and brutal
> decisions welcomed.
> 
> [1] https://github.com/geoffleyland/lua-csv

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."

Rows defined as; "street","nr","zip","city"
Data; "Oneway Street", "1",,"Toontown"

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?

Thijs