title: Check if a string has a certain piece of text
body: <blockquote>
    <p><strong>Possible Duplicates:</strong><br>
    <a href="https://stackoverflow.com/questions/6614424/check-if-text-is-in-a-string">Check if text is in a string</a><br>
    <a href="https://stackoverflow.com/questions/1789945/javascript-string-contains">JavaScript: string contains</a>  </p>
  </blockquote>
  
  
  
  <p>I'm trying to check if a string I import into my application has a certain piece of text. I know how to do this with jQuery, but how do I do it with straight up JavaScript?</p>