Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python find index of first letter in string

>>> s.find(next(filter(str.isalpha, s)))
2
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #find #index #letter #string
ADD COMMENT
Topic
Name
4+6 =