title: jQuery String Contains Manipulation?
body: <p>In most languages like C# for example given a string you can test (boolean) if that string contains another string, basically a subset of that string.</p>
  
  <pre><code>string x = test2;
  
  
  if(x.contains("test"))
      // do something
  </code></pre>
  
  <p>How can I do this in a simple way with Javascript/Jquery? </p>