Hi,
not sure what you are trying to do? Does your url contain a querystring param that has questionmarks in it? Not sure if that's even allowed but:
QueryString.GetValue("URL")
get's the value of a parameter URL.
So if you had
domain.com?url=abc&somethingelse=def
it would get ABC
.
But even in case you had:
domain.com?url=a?b?c
you would get a?b?c
If I test with your code I do get the correct values:
Keep in mind the array is 0 based. So your example of [1] gets the 2nd value!

Not sure if it's just as a test but keep in mind you're now vulnerable for XSS. For example:
