Ok so I have this string (for example):
var = "I eat breakfast."
Use word in sentence. For example:
word in sentence
>>> 'el' in 'Hello' True >>> 'xy' in 'Hello' False
For your reference, check: python in operator use cases
in