how to check if a parameter is present in a URL in simplest form
<p>I would like to parse a string which is basically a URL. I need to check simply that a parameters is passed to it or not. </p>

<p>so <a href="http://a.b.c/?param=1" rel="nofollow">http://a.b.c/?param=1</a> would return true <a href="http://a.b.c/?no=1" rel="nofollow">http://a.b.c/?no=1</a> would return false and <a href="http://a.b.c/?a=1&amp;b=2.....&amp;param=2" rel="nofollow">http://a.b.c/?a=1&amp;b=2.....&amp;param=2</a> would return true since param is set</p>

<p>I am guessing that it would involve some sort of regular expression.</p>
