DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
4+6 =
Submit