python find first char index from a string stackoverflow

Solutions on MaxInterview for python find first char index from a string stackoverflow by the best coders in the world

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "python find first char index from a string stackoverflow"
Salvatore
24 Jan 2019
1>>> s = "the dude is a cool dude"
2>>> s.find('dude')
34
4
similar questions