Let's say I have the following variable:
var myString='Description=TEST DESC&Stuff=things&Quantity=2';
How can I get the different items from this variable using split? So there are multiple values, and the format is always the same:
variable=result and then followed by ampersand, then next variable=result.
I need to be able to assign each of those to actual variables
Description=TEST DESC;
Stuff=things;
Quantity=2;
Any help?