如何获取每组数据
2015-11-07,726620,x02,55,31,06,48,61,07,52,68,29,37,17,80,35,51,27,78,46,49,25,75获取结果为 726620x255 31等 #include <Array.au3>
Local $Str = '2015-11-07,726620,x02,55,31,06,48,61,07,52,68,29,37,17,80,35,51,27,78,46,49,25,75'
MsgBox(0, '原字符串', $Str)
Local $aSR = StringRegExp($str, ',([^,]+)', 3)
_ArrayDisplay($aSR, UBound($aSR)) 回复 2# afan
大神佩服 学习了,非常感谢 你这么厉害 你妈妈知道么 学习了,还是A大的正则匹配强大啊
页:
[1]