Last post Aug 25, 2010 07:12 AM by aspnewbieperson
Aug 25, 2010 01:06 AM|aspnewbieperson|LINK
I need a vb function to determine the last numerical characters in a string. For example, if the string is Step1, I need it to return 1. If the string is Step32, I need it to return 32.
I'm aware of the string functions like Right, Instr, etc but I'm just not sure how to get what I need. Any suggestions?
Aug 25, 2010 07:12 AM|aspnewbieperson|LINK
I figured out a solution. Take the last two characters, regardless of what they are. Then use a regex and replace all non-numeric characters