I have the following function:
ctrl = window.location.search.substr(8).substring(5);
The "ctrl" value becomes "Equip&Descr=Descr"
I need to separate the string that´s in the "crl" into 2 more variables. I need that it reads "Equip" and put´s it in a variable and then reads "Descr" and put´s it in anther variable. How can I do this ???