Answers for "function to find multiple substring in given string"

0

function to find multiple substring in given string

matches = ["more", "wholesome", "milk"]
a_string = "A string is more than its parts! milk, wholesome"
if any(x not in a_string for x in matches):
   print "missing"
Posted by: Guest on October-22-2020

Code answers related to "function to find multiple substring in given string"

Browse Popular Code Answers by Language