PHP str_getcsv() İşlevi
Tanım ve Kullanım
str_getcsv() işlevi, CSV biçimindeki alanlar için bir dize ayrıştırır ve okunan alanları içeren bir dizi döndürür.
Sözdizimi
str_getcsv(string,separator,enclosure,escape)
Parametre Değerleri
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 (\) |
Teknik detaylar
Geri dönüş değeri: | Bir dizideki CSV alanlarını döndürür |
---|---|
PHP Sürümü: | 5.3.0+ |
❮ PHP Dize Referansı