PHP str_getcsv() လုပ်ဆောင်ချက်
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
str_getcsv() လုပ်ဆောင်ချက်သည် CSV ဖော်မတ်ဖြင့် ကွက်လပ်များအတွက် စာကြောင်းတစ်ခုကို ခွဲခြမ်းစိပ်ဖြာပြီး ဖတ်ထားသည့် အကွက်များပါရှိသော ခင်းကျင်းတစ်ခုကို ပြန်ပေးသည်။
အထားအသို
str_getcsv(string,separator,enclosure,escape)
ကန့်သတ်တန်ဖိုးများ
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 (\) |
နည်းပညာဆိုင်ရာအသေးစိတ်
ပြန်ပို့တန်ဖိုး- | ခင်းကျင်းတစ်ခုတွင် CSV အကွက်များကို ပြန်ပေးသည်။ |
---|---|
PHP ဗားရှင်း- | 5.3.0+ |
❮ PHP String အကိုးအကား