title: Matching exact string with indexOf
body: <p>Say I have something like this:</p>
  
  <pre><code>[
  [ 'Friend' ],
  [ 'Friendship-' ],
  [ 'Friends' ],
  [ 'friendly' ],
  [ 'friendster' ],
  ]
  </code></pre>
  
  <p>I want to go through this and find the field that matches "Friend", but Friend only - not Friend<strong>s</strong>, Friend<strong>ship</strong> etc. How would I do this?</p>
  
  <p>I have tried indexOf() &amp; regex match, but I am still a beginner so it always matches them all right now.</p>