Re: CSV File parsing
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: CSV File parsing
- From: "D Burgess" <dburgess@...>
- Date: 2006年7月20日 11:01:22 +1000
How do we handle non-existent values?
t = {1,,3,,5,,7,8}
I have always wished that the parser handled this.
DB
On 7/20/06, Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:
I'm sorry to reply to my own post, but here's a simpler solution:
Return "return {" on the first call to the reader.
For each input line, return "{" plus the line plus "},".
At the end, return "}".
--lhf