I'm hoping someone can help me out with this one...
On a form a user can input a search phrase. What I want to do is strip the search phrase as follows:
User inputs: "Apache Server", linux, intel
I want to end up with an array of three items:
Apache Server
linux
intel
The only part I'm having some problems with is the "Apache Server" part.
How can I strip out a quoted piece of text from the input?
split("\"", $string) does not work because it splits once for each quote, so that doesn't work...
Anyone have any thoughts on this one?
Thanks!
-- Jason