i have the following link:
http://tili-click.startboomservice.com/tracking/adClick?d=IAAAAAAgAAA6X
I need to get the query string with before question mark so the result would be
adClick
this must done on many link with similar pattern. I couldnt find solution like url encode that i use for host and pathname