Re: [PHP] split or explode quoted strings

2005-11-14 Thread Robin Vickery
On 11/14/05, Ördögh László <[EMAIL PROTECTED]> wrote: > 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" > "

Re: [PHP] split or explode quoted strings

2005-11-14 Thread Chris Shiflett
Ördögh László wrote: 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" I love explode(),

[PHP] split or explode quoted strings

2005-11-14 Thread Ördögh László
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