用逗号分割数字,忽略双引号里面的逗号
Posted fengxiaoyao
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了用逗号分割数字,忽略双引号里面的逗号相关的知识,希望对你有一定的参考价值。
$str="72018,04-04126-79369,jackiearnett232012,JACQUELINE ARNETT,jackiearnett23@yahoo.com,,3752 Lee Street Rd,,Leslie,GA,31764-2516,United States,Jacqueline Storey,+1 864-992-2352,3752 Lee Street Rd,,Leslie,GA,31764-2516,United States,113122107520,"Shockproof Galaxy S9 S8+ Plus Note 8 Tough Soft Gel Clear Case Cover for Samsung[Samsung Phone,Case Only,Samsung Galaxy S9]",,No,1,$6.64,$0.00,$0.00,$0.00,$6.64,No,PayPal,Nov-11-19,Nov-11-19,Nov-12-19,Nov-19-19,Nov-19-19,,No,,,63P92839FJ183342P,USPS First Class Package,,2013409079001,"[Compatible Phone:Samsung Phone,Optional:Case Only,Compatible Model:Samsung Galaxy S9]",No,,No,,No"
$hang=str_getcsv($rowfen,‘,‘,‘""‘);
结束
以上是关于用逗号分割数字,忽略双引号里面的逗号的主要内容,如果未能解决你的问题,请参考以下文章