我有以下字符串,我需要在以下位置爆炸,
:
$line = 'C13T110,E010,"WF2010/2510/2540 BK,C,M,Y PACK",0,99.99,EP,EP2,.000,'
,
我遇到的问题是引号内的描述中有许多's 会抛出我的结果数组。
如何分解此字符串以输出以下数组:
[0] = C13T110
[1] = E010
[2] = "WF2010/2510/2540 BK,C,M,Y PACK"
[3] = 0
[4] = 99.99
[5] = EP
[6] = EP2
[7] = .000