michellerobbins56
Programmer
Hi
I have a string called "stringQuery" made up of characters and spaces. I have calculated the total length using
len(stringQuery)
There is a word in the string "or". I would like to remove everything to the left of stringQuery up to and including this word.
I have used the function InStr to work out where in the total string the word "or" appears. I have done this as follows:
dim characters
characters = InStr(1,strQuery, "or")
Please can anyone tell me what function or how to remove all the characters and spaces to the left of this string? Basically what I need to do is subtract 'characters' from the total string length but I'm not sure how to do this?
Thank you for any help.
I have a string called "stringQuery" made up of characters and spaces. I have calculated the total length using
len(stringQuery)
There is a word in the string "or". I would like to remove everything to the left of stringQuery up to and including this word.
I have used the function InStr to work out where in the total string the word "or" appears. I have done this as follows:
dim characters
characters = InStr(1,strQuery, "or")
Please can anyone tell me what function or how to remove all the characters and spaces to the left of this string? Basically what I need to do is subtract 'characters' from the total string length but I'm not sure how to do this?
Thank you for any help.