title: Get everything after the dash in a string in JavaScript
body: <p>What would be the cleanest way of doing this that would work in both IE and Firefox?</p>
  <p>My string looks like this <code>sometext-20202</code></p>
  <p>Now the <code>sometext</code> and the integer after the dash can be of varying length.</p>
  <p>Should I just use <code>substring</code> and index of or are there other ways?</p>