Changes

Jump to navigation Jump to search
31 bytes added ,  16:00, 20 February 2017
no edit summary
Line 12: Line 12:     
===== Fields =====
 
===== Fields =====
* Field are separated by the '''tab''' field delimiter, because they rarely occur in texts and therefore require no escaping.
+
* Field are separated by the '''tab''' field delimiter, because they rarely occur in texts and therefore escape characters are often not needed.
 
* The field delimiter should '''not''' be added after each line's last field. This allows for the use of a split() function for parsing a line.
 
* The field delimiter should '''not''' be added after each line's last field. This allows for the use of a split() function for parsing a line.
 
* The last field in a line must not be empty, because it will show to parsers that the previous rule was obeyed.
 
* The last field in a line must not be empty, because it will show to parsers that the previous rule was obeyed.
 
* Fields are never surrounded by a quoting character.
 
* Fields are never surrounded by a quoting character.
 
* White space before or after field delimiters are considered part of a field.
 
* White space before or after field delimiters are considered part of a field.
* There is no defined escape character. If your data can contain tabs, use a different field delimiter or file format.
+
* There is no defined escape character. If your data can contain tabs or newlines, use a different field delimiter or file format.
    
===== Data =====
 
===== Data =====
14

edits

Navigation menu