[fpc-pascal] CSV via PCRE
expandafter at yahoo.com
Sat Nov 10 23:39:52 CET 2007
--- Graeme Geldenhuys <graemeg.lists at gmail.com> wrote:
> OK, while we are busy with show-and-tell... Then have a look at my
> token library implementation.
> Sample Usage:
> tokenizer := TTokens.Create(FieldSpecLine, ', ', '"', '"', '\',
> lField := tokenizer.Token(2);
> lAnotherField := tokenizer.Token(4);
That's not a working sample. It has no CSV record to parse.
Give a working program that we can run with no modifications
whatsoever; parse an actual CSV record; print every field
in the record. That's what my sample did.
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
More information about the fpc-pascal