title: search() string for multiple occurrences
body: <p>Say you have the string, <code>Black cat jack black cat jack black cat jack</code>.</p>
  
  <p>How would you use <code>search()</code> to find the 2nd occurence of the word <code>jack</code>?</p>
  
  <p>I'm guessing the code would look something like:</p>
  
  <pre><code>var str = "Black cat jack black cat jack black cat jack";
  var jack = str.search('jack');
  </code></pre>
  
  <p>But that will only return the location of the first occurrence of <code>jack</code> in the string.</p>