Hello,
I am trying to retrieve from the following string the numeric part into 3 different variables
str="7449_9968_12438"
i was able to get first and last set of characters
var1=Left(str, InStr(str, "_") - 1)
var2=Right(str, InStr(str, "_"))
but i cant figure out how to get the middle string "9968" ( the lenght of this part of the string can vary)
I am trying to retrieve from the following string the numeric part into 3 different variables
str="7449_9968_12438"
i was able to get first and last set of characters
var1=Left(str, InStr(str, "_") - 1)
var2=Right(str, InStr(str, "_"))
but i cant figure out how to get the middle string "9968" ( the lenght of this part of the string can vary)