Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python check if string starting with substring from list ltrim python

if any(string.startswith(char) for string in listOfStrings):
  	print(True)
 
PREVIOUS NEXT
Tagged: #python #check #string #starting #substring #list #ltrim #python
ADD COMMENT
Topic
Name
8+5 =