Posted by Φrdφgh Lαszlσ on 11/14/05 16:28
Hello,
I would like to split or explode strings in a way that
quoted strings inside the strings should remain.
e.g.:
"first second \"third third\" fourth \"fifth fifth fifth\""
after the split I need:
"first"
"second"
"third third"
"fourth"
"fifth fifth fifth"
Is there a simple way to achieve this in PHP? (e.g. like Perl
Text::ParseWords quotedwords function)
Thanks In Advance,
--Laszlo Ordogh
ordoghl@gmail.com
Navigation:
[Reply to this message]
|