Re: How to iterate through CSV records with other than "\n"?
Daniel Dekany <[email protected]> Mon, 28 Feb 2005 22:15:29 +0100
| Newsgroups | gmane.comp.text.fmpp |
|---|---|
| Message-ID | <[email protected]> |
Monday, February 28, 2005, 3:21:13 PM, Ralf Hauser wrote: >> Starting from FMPP 0.9.9 (or with the latest version in the CVS until >> 0.9.9 is released) it's possible with the new slicedText(fileName[, >> options]) data loader. This reads a text file as a sequence of strings. >> The separator is by default "\n", but it can be changed with the >> options. > Right now, being able to change the EOL, i.e. the "recordSeparator" in the > csv dataloader to some value of my preference would be more important. I most probably will not add such option. The CSV data loader improvements of 0.9.9 are long-time really missing things for the handling of *genuine* CSV (and tab separated, etc) files. Of course you always have the option of sending a CSV data loader patch, or writing a custom data loader. (BTW, CSV files has an escaping rule, and I don't know if it's compatible with the files you process with the CSV data loader.) -- Best regards, Daniel Dekany ____________________________________________________________________ Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol. Probald ki most! http://www.freestart.hu ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click