title: indexOf for multiple options
body: <p>Let say, I get the following using <code>var content = this.innerHTML</code>:</p>
  
  <pre><code>w here&amp;nbsp;&lt;/div&gt;
  </code></pre>
  
  <p>Using <code>indexOf</code> (or other ways), I want to check for the first position that has either "Space", "&lt;" or "&amp;nbsp".</p>
  
  <p>In this case, it will be 1 (after "w").</p>
  
  <p>What I am confused about is how do I check for the very first position that has either one of these three choices? Do I use <code>Do...while</code> to check for individual "options"?</p>