Say i have this string:

Code:
search?Origin=&Width=0&Length=0&widthmeters=0&Lengthmeters=3&Price=0
How can i parse through each of these origins and width's and so forth and retrieve the name of it and the value? Like say i have that string and i want to retrieve:

origin = ""

But i don't know how many of these type of things there are and so forth. Does any get what i'm saying?