The format of CSV files is based on RFC4180, with the following specifications.
Records
Separate each record with a "CRLF" newline (operation is not guaranteed with only a "CR" or "LF" newline).
Specify a newline at the end of a file.
Separate each field within a record with a halfwidth comma ",".
Format | Record | ||
---|---|---|---|
aaa,bbb,ccc | aaa | bbb | ccc |
If several commas are entered in succession, or if a comma precedes a newline, the data following the comma is regarded as empty.
Format | Record | ||
---|---|---|---|
aaa,,ccc | aaa | ccc | |
aaa,bbb, | aaa | bbb |
Headers cannot be specified.
Format | Record | ||
---|---|---|---|
field1 | field2 | field 3 | |
aaa,bbb,ccc | aaa | bbb | ccc |