Search a string without case sensitivity in php
<p>I am trying to search for a string but when I search it has to be case insensible I will then use that string as a delimiter in the explode function. I can't search for a specific position because I can't control how much text will be before the delimiter. </p>

<p>as you can see this only searches for <em>CODE</em> but if the user puts <em>code</em> it wouldn't work. I think if I could find a way to search this and then strtoupper it. </p>

<pre><code>&lt;?php explode("*CODE*", $snippet); ?&gt;
</code></pre>
