Answers for "check first character in string python"

17

how to remove first letter of a string python

s = "hello"
print s[1:]
Posted by: Guest on August-05-2020
1

python search first occurrence in string

s = "the dude is a cool dude"
s.find('dude') # returns 4 - the first index of the first match in the string
Posted by: Guest on August-21-2020

Code answers related to "check first character in string python"

Code answers related to "Javascript"

Browse Popular Code Answers by Language