title: Get value of a string after last slash in JavaScript
body: <p>I am already trying for over an hour and cant figure out the right way to do it, although it is probably pretty easy:</p>
  
  <p>I have something like this : <code>foo/bar/test.html</code></p>
  
  <p>I would like to use jQuery to extract everything after the last <code>/</code>. In the example above the output would be <code>test.html</code>.</p>
  
  <p>I guess it can be done using <code>substr</code> and <code>indexOf()</code>, but I cant find a working solution.</p>