python find substring in string case insensitive code example
Example: python contains string case insensitive
>>> str = "Messi is the best SoCceR player"
>>> "soccer" in str.lower()
True
>>> "football" in str
False
>>> str = "Messi is the best SoCceR player"
>>> "soccer" in str.lower()
True
>>> "football" in str
False