Hi all. I have searched high and low but I can't get to the bottom of this one. Hopefully someone here can point me in the general direction?
I have strings that could look like "N01N03N10N35" or "N 1N 7N12" or "N1N6N20"
Each substring will always start with a capital "N" followed by either two numbers, a space and a number, or no space and a number/s.
I need to do the following operations on this string:
1. Extract each substring text from the string
2. Find the start position of each substring (possibly using instr?)
3. Get the length of each substring
I have tried instr but I don't think it is possible to use a wildcard. I have had some success with split but can only extract the numbers following.
This my attempt at extracting the substring:
Any help is hugely appreciated!
Thanks
Mike
Bookmarks