I'm currently working on some string manipulation functions. I need to find the last number within a string, and return the position of it.
I can use InstrRev to find the last position of a single number but not sure how to do it to show the last position of any number (or if there is a better way).
Say my example data is as follows
1. Some text Would go Here 123
2. 321 Some text would go here
3. Some 456 Text would go here
I would like the function to return
1. 27
2. 3
3. 8
Any help would be greatfully appreciated!
I can use InstrRev to find the last position of a single number but not sure how to do it to show the last position of any number (or if there is a better way).
Say my example data is as follows
1. Some text Would go Here 123
2. 321 Some text would go here
3. Some 456 Text would go here
I would like the function to return
1. 27
2. 3
3. 8
Any help would be greatfully appreciated!