|
SplFileObject::setCsvControlSet the delimiter and enclosure character for CSV Description
public void SplFileObject::setCsvControl
([ string
$delimiter = ","
[, string $enclosure = "\""
[, string $escape = "\\"
]]] )Sets the delimiter and enclosure character for parsing CSV fields. Parameters
Return ValuesNo value is returned. Examples
Example #1 SplFileObject::setCsvControl example
<?php Contents of data.csv <?php apples|20 bananas|14 cherries|87 ?> See Also
|