Rajeev Rajeev - 1 year ago 90
Python Question

Python string match

If a string contains

*SUBJECT123
, how do I determine that the string has
subject
in it in python?

Answer Source
if "subject" in mystring.lower():
  # do something