I have a string that looks like this:
var str = "fname=peter lname=pan age=12"
What I need is to get an array of string, each of that string goes right after fname or lname or age, out of str variable. The result is like this: ['peter', 'pan', '12'].
Could you suggest me an effective solution to accomplish that task (I got a long one, and believe me you would never wanna see that)?
Thank you!