공부
[Python] find(), rfind()
승가비
2020. 8. 5. 02:45
728x90
myString = 'Position of a character'
myString.find('s')
2
myString.find('x')
-1
https://stackoverflow.com/questions/2294493/how-to-get-the-position-of-a-character-in-python/2294502
How to get the position of a character in Python?
How can I get the position of a character inside a string in python?
stackoverflow.com
728x90