How do I split this string in PHP?

Grintaci

New Member
I have a string that looks like this:\[code\]'word','another word','and a sentence','and more','etc etc'\[/code\]I need to split this into two strings, divided by the second comma, which shouldn't show in either of the sentences. What complicates things is that here can also be commas inside the various quotes parts of the string.Can anyone help me?
 
Top