title: How to match similar strings in javascript
body: <p>I have to arrays that contain names of premier league players.
  I want to match them by name since the player objects don't have unique ids.</p>
  
  <p>How can I make a string comparison that will match <code>Zlatan Ibrahimovic</code> with <code>Zlatan Ibrahimović</code> for example? (notice the last character of both strings)</p>