I just came across this here, always used like this:
if string1.find(string2) <> -1: pass
What does the <> ope
<>
<> would mean greater than or less than, essentially 'not equal'.