Linked Questions

Popular Questions

Does Python have a string 'contains' substring method?

Asked by At

I'm looking for a string.contains or string.indexof method in Python.

I want to do:

if not somestring.contains("blah"):
   continue

Related Questions