check string function
<p>I am currently trying to get my head around some basic php string functions. I currently use this code which determines if the username entered in long enough e.g.:</p>

<pre><code>    if (strlen($_GET['name']) &lt; 3) {
        echo 'First Name should be at least 3 characters long!';
        exit;
    }
</code></pre>

<p>And this works just fine. Which string function should I use though if I want to to check on a specific name? E.g. I would like to trigger a message once someone enters a specific Word in the form field.</p>

<p>Some expert advice would be greatly appreciated.</p>
