in and not in String Operators

Just like with lists you can use the in and not in operators to check if something is in a string.

>>> 'Hello' in 'Hello, World'
True
>>> 'HELLO' in 'Hello, World'
False
>>> '' in 'spam'
True
>>> 'cats' not in 'cats and dogs'
False