title: How to check if a string contain specific words?
body: <pre><code>$a = 'how are you';
  if (strpos($a,'are') !== false) {
      echo 'true';
  }
  </code></pre>
  
  <p>In PHP, we can use the code above to check if a string contain specific words, but how can I do the same function in JavaScript/jQuery?</p>