title: get everything after last character occurrence python
body: <p>I've seen this asked in other languages but can't find it for Python, maybe it has a specific name i'm not aware of. I want to split a line after the last occurrence of a '-' character, my string would look like the following:</p>
  
  <pre><code>POS--K    100    100    001    -    1462
  </code></pre>
  
  <p>I want to take the last number from this string after the last -, in this case 1462. I have no idea how to achieve this in, to achieve this when only one such character is expected I would use the following:</p>
  
  <pre><code>last_number = last_number[last_number.index('-')+1:]
  </code></pre>
  
  <p>How would I achieve this when an unknown number of - could be present and the end number could be of any length? </p>