Now, I suppose I am getting more stupid as I age, but I must be missing the obvious.
This works if its either one of the string matches, which is a desired operation:
However, I am trying to do a return if VarD does not contain either one of those, like this:
But, it doesnt work. it returns regardless if VarD has either one of the strings.
I want it to work like this: If VarD doesn't contain either of those strings exactly as they are, then return.
Thoughts?
?
This works if its either one of the string matches, which is a desired operation:
B4X:
If VarD = "GqrNrmcZyTvqG67B" Or VarD = "E4YhdpBsQ88jWR6p" Then
However, I am trying to do a return if VarD does not contain either one of those, like this:
B4X:
If VarD <> "GqrNrmcZyTvqG67B" Or VarD <> "E4YhdpBsQ88jWR6p" Then Return
But, it doesnt work. it returns regardless if VarD has either one of the strings.
I want it to work like this: If VarD doesn't contain either of those strings exactly as they are, then return.
Thoughts?
?