record_delimiter option defines one or multiple characters used to delimit records.
The value may be a string or a buffer or an array of both. It can not be empty. By defaults, the record delimiters are auto discovered. Supported auto discovery methods are Linux ("\n"), Apple ("\r") and Windows ("\r\n") record delimiters.
- Since: 4.0.0
escape— see Available Options
It is not possible to escape a record delimiter. A field must be quoted if it contains a record delimiter which should not be interpreted as such.
Before version 4.0.0, this option was named
In the record delimiter example, two characters
&& separate records.
Record delimiter can be made of multiple values when defined as an array: