PHP stristr issue
<pre><code>$bodytext = "we should see this text &lt;more&gt; but not this at all &lt;html&gt;";
if(stristr($bodytext, "&lt;more&gt;") == TRUE)
{
    $find = "&lt;more&gt;";
    $pos = stripos($bodytext, $find);
    $bodytext = substr($bodytext, 0, $pos);
}
echo "$bodytext";
</code></pre>

<p>If the $bodytext contains other html code, this also causes the above code to return true :</p>

<pre><code>&lt;more
more&gt;
</code></pre>

<p>How do I adjust my code so only (and exactly) :</p>

<pre><code>&lt;more&gt;
</code></pre>

<p>returns true?</p>
