PHP » GoLang |
login |
register |
about
|
GoLang SplFileObject::setCsvControl
request it (433)
GoLang replacement for PHP's SplFileObject::setCsvControl
[edit | history]
PHP SplFileObject::setCsvControlPHP original manual for SplFileObject::setCsvControl [ show | php.net ]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
Return ValuesNo value is returned. Changelog
Examples
Example #1 SplFileObject::setCsvControl() example
<?php Contents of data.csv <?php apples|20 bananas|14 cherries|87 ?> See Also
|
more
Recently updated
more
Most requested
more
Last requests
|