title: Get url without querystring
body: <p>I have a URL like this:</p>
  
  <p><code>http://www.example.com/mypage.aspx?myvalue1=hello&amp;myvalue2=goodbye</code></p>
  
  <p>I want to get <code>http://www.example.com/mypage.aspx</code> from it. </p>
  
  <p>Can you tell me how can I get it?</p>