for csv dataloader allow for other "separator"s - e.g. ","

"Ralf Hauser" <[email protected]> Thu, 24 Feb 2005 19:40:10 +0100
Newsgroups gmane.comp.text.fmpp
Message-ID <[email protected]>
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?



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