Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How to parse the Query parameters in Javascript

Not applicable

Hello All,

I have a string like "https://www.google.com/abc/xyz?firstQp=5&secondQp=IamMaster".

I am looking for the best possible and optimised piece of javascript code to extract firstQp and secondQp into context variables.

Can anyone quickly help me here ?

0 4 8,788
4 REPLIES 4
Top Solution Authors