Does Python have a string contains substring method

0 votes

I'm trying to find a Python string.contains or string.indexof function.

I wish to: 

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



Sep 21, 2022 in Python by Samuel
• 460 points

edited Mar 4 51 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP