PHP str_getcsv() Funksie
Definisie en gebruik
Die str_getcsv()-funksie ontleed 'n string vir velde in CSV-formaat en gee 'n skikking terug wat die geleesde velde bevat.
Sintaksis
str_getcsv(string,separator,enclosure,escape)
Parameterwaardes
Parameter | Description |
---|---|
string | Required. Specifies the string to parse |
separator | Optional. A character that specifies the field separator. Default is comma ( , ) |
enclosure | Optional. A character that specifies the field enclosure character. Default is " |
escape | Optional. A character that specifies the escape character. Default is backslash (\) |
Tegniese besonderhede
Terugkeerwaarde: | Wys die CSV-velde in 'n skikking |
---|---|
PHP weergawe: | 5.3.0+ |
❮ PHP-stringverwysing