Answers for "check if string contains list of character python"

1

python list contains string

str in strList

# example
if 'qwe' in strList:
	print('Yes!')
Posted by: Guest on August-19-2021
0

python check if string contains one of characters list

if any(ext in url_string for ext in extensionsToCheck):
    print(url_string)
Posted by: Guest on December-05-2020

Code answers related to "check if string contains list of character python"

Python Answers by Framework

Browse Popular Code Answers by Language