SplFileObject::setCsvControl
SplFileObject::setCsvControl
(PHP 5 >= 5.2.0, PHP 7)
SplFileObject::setCsvControl — Set the delimiter, enclosure and escape character for CSV
Description
public void SplFileObject::setCsvControl ([ string $delimiter = "," [, string $enclosure = "\"" [, string $escape = "\\" ]]] )
Sets the delimiter, enclosure and escape character for parsing CSV fields.
Parameters
-
delimiter
-
The field delimiter (one character only).