Finding a / symbol in string
<p>I'm trying to find a forward slash in a string...</p>

<p>This doesn't seem to work:</p>

<pre><code>if ("/test".indexOf("/") &gt; -1) {
</code></pre>

<p>What am I doing wrong?</p>

<p>Funny thing is... I tried this:</p>

<pre><code>if ("!test".indexOf("!") &gt; -1) {
</code></pre>

<p>and it works! I also tried \/ for that... help?</p>
