in reply to Writing to csv file
An alternate to the comma that is used in many data base outputs is the "pipe" or | symbol. Although common in programming languages, this symbol is almost unknown in name, address, department name fields, etc. A database output that uses the "|" instead of the "," to separate fields is also known as a "CSV" file. Microsoft Excel can easily import CSV files separated by "|".
If I have a choice when generating the file, I use "|". When I have to read a file from some other source, very often but not always it uses "," and I have to deal with that.
So, if you generate the file, I would use "|" instead of "," because it makes the parsing easier - which is reason enough.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Writing to csv file
by GrandFather (Saint) on Mar 03, 2011 at 00:27 UTC | |
by maestromani (Initiate) on Mar 03, 2011 at 10:25 UTC | |
by Marshall (Canon) on Mar 05, 2011 at 02:09 UTC |