Rajanikant Hawaldar
Does Python have a string 'contains' substring method?

Does Python have a string ‘contains’ substring method?

By Rajanikant Hawaldar in Python on Oct 10 2020
  • Kokul Jose
    Oct, 2020 12

    You can use the in operator:if "blah" not in somestring:Do something

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS