There is another way.......
instr does return true and false for a string search
try (IT WORKS)
if instr(1,SomeString,SomeTestString,,,vbtextcompare) then
'sometesthing is contained within something
end if
if not instr(1,SomeString,SomeTestString,,,vbtextcompare) then...