The header contains names that correspond to the fields in the file and should contain the same number of fields as the following entries in the file:
field_name,field_name,field_name CRLF
aaa,bbb,ccc CRLF zzz,yyy,xxx CRLF
Within the header and each record, there can be one or more fields separated by commas. Each line should contain the same number of fields in the entire file. Spaces are interpreted as part of a field. The last field in the record must not be followed by a comma, e.g.:
aaa,bbb,ccc
Each entry has a line separated by a line break, e.g.:
aaa,bbb,ccc CRLF zzz,yyy,xxx CRLF
The last entry in the file can, but does not have to, break with a line break, e.g.:
aaa,bbb,ccc CRLF zzz,yyy,xxx
Each field may or may not be enclosed in quotation marks (however, some programs, such as Microsoft Excel, do not use double quotation marks at all). If fields are not set in quotation marks, then no quotation marks should appear within the fields, e.g.:
"aaa","bbb","ccc" CRLF
zzz,yyy,xxx
Fields containing line breaks (CRLF), double quotes or commas should be enclosed in double quotes, e.g.:
"aaa","b CRLF bb","ccc" CRLF zzz,yyy,xxx
If a quotation mark is set within a field, the quotation mark that is within a field must be preceded by another quotation mark, e.g.:
"aaa","b""bb","ccc"
Kommentare
0 Kommentare
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.