In python to check if 'apple' appears in another string we do:
if 'apple' in my_str: To check without cases sensitive I read we can do:
if 'apple' in my_str.lower(): But what if my_str is REALLY long, it's not efficent to call .lower() on it... Doesn't python support native non cases sensitive match?
my_str = "apple" + "x" * 1000000. There's no need to construct a new megastring (literally) just to find out the first 5 characters of the original match.