title: Get the Integer from the end of a string (variable length)
body: <p>I have a string of a variable length and at the end of the string are some digits. What would be the best / efficient way, to parse the string and get the number from the end as an Integer?</p>
  
  <p>The String and the digits at the end can can be of any length. For example:</p>
  
  <pre>
  abcd123 --> 123
  abc12345 --> 12345
  ab4cd1 --> 1
  </pre>