Hi I have some data I would like to extract two values from.
The string length can be variable so a fixed count will not work.
I want to extract the second last bit of data in this example I want to extract
SMI from "56W Mech Insp BMM SMI STK7"
in the the scond example I want to extract
SBGSM from "56W Mech Svce BMM SBGSM BWR10"
Since the strings are of different lengths I am struggeling to just use the mid/find function on its own.
Hope that makes sense , help appreciated
The string length can be variable so a fixed count will not work.
I want to extract the second last bit of data in this example I want to extract
SMI from "56W Mech Insp BMM SMI STK7"
in the the scond example I want to extract
SBGSM from "56W Mech Svce BMM SBGSM BWR10"
Since the strings are of different lengths I am struggeling to just use the mid/find function on its own.
Hope that makes sense , help appreciated