Concept of like statement in JavaScript
<p>I have an array and would like to use the same concept as a like in SQL to find certain characters in a string.</p>

<p>This what I'm trying to use:</p>

<pre><code>if (nameArray[i].nameInfo.fullName ^= "Bob") {
   // TODO: some code.
}
</code></pre>

<p>Thanks for any help.</p>
