How to determine whether a substring is in a different string [duplicate]

with in: substring in string:

>>> substring = "please help me out"
>>> string = "please help me out so that I could solve this"
>>> substring in string
True

Leave a Comment