Say I have the following string:
$string = 'ABC DEF "And some text"'
I'd like to parse it into a 3-element array, with "And some text" being the third element.
My mind wants to do StringSplit($string," "), but that's obviously not going to work. So how do I go about it?
$string = 'ABC DEF "And some text"'
I'd like to parse it into a 3-element array, with "And some text" being the third element.
My mind wants to do StringSplit($string," "), but that's obviously not going to work. So how do I go about it?