I have a csv string. But the string also contains other strings with commas.

Explode is not working with this kind of string. For example,

1,2,3,"this string gets parsed , at the comma"

Result of explode(",",string) is
1
2
3
this string gets parsed
at the comma

But what I want is
1
2
3
this string gets parsed , at the comma

I am not fluent with regular expressions. If anybody could help.

Thanks,
Vp

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to