# Get The Query string?

**URL:** <https://forum.kirupa.com/t/get-the-query-string/310360>\
**Category:** flash\
**Created:** [June 8, 2010, 1:21pm UTC](https://forum.kirupa.com/t/get-the-query-string/310360 "2010-06-08T13:21:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kivshany](https://avatars.discourse-cdn.com/v4/letter/k/c2a13f/32.png) [@Kivshany](https://forum.kirupa.com/u/Kivshany)\
**Post date:** [June 8, 2010, 1:21pm UTC](https://forum.kirupa.com/t/get-the-query-string/310360/1 "2010-06-08T13:21:50Z")

</div>

Hi all, I need the simplest way to get the query string from the URL address.  
Nothing with variables, only the string that comes after “?”.

example:  
[http://www.mywebsite/com/forum/newthread.asp](http://www.mywebsite/com/forum/newthread.asp)? **stringtocatch**

And I need it to be only AS2.  
Is there a way?
