Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

find word position in string python

s = "Happy Birthday"
s2 = "py"

print(s.find(s2))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #find #word #position #string #python
ADD COMMENT
Topic
Name
5+5 =