Splitting numerics from a string
Could anybody help me with this.
I have a various strings that should (unless it is passed incorrectly which is possible) contain a number at the end, but may also have numbers at the start and/orwithin the string .
Example:
- somestring4567
- some123string4567
- 123some123string4567
- 123somestring4567
I need to split it so that I end up with the number at the end, so in the examples above the 4567
I could probably do it with a loop but I'm guessing there is a slicker more efficient way of doing it
Thanks
