[FMPP] for csv dataloader allow for other "separator"s - e.g. ","
Brought to you by:
ddekany
|
From: Ralf H. <ral...@gm...> - 2005-02-24 18:40:34
|
As per http://fmpp.sourceforge.net/dataloader.html#key_csv, it appears that only semicolon and tab are permitted. It would be great if it were also working with the comma (as in "C-S-V" ;) ) all my input data is such and I can't just simply change because there is some dependent escaping done etc. Best would even be if one could specify it right in the "separator" option and all values would be allowed (perhaps except "\n" since that is the record separator. Although if following the MySQL example one could even be flexible and add the optional option of a "lineSeparator") ? So, if I wanted my dataloader to separate with &&, I'd just write csv(data/foo.txt, {separator: "&&"}) ? What do you think? |