개발/Python
특정 문자 찾기
Louisus
2020. 5. 7. 00:27
728x90
1. find -> index 반환
string.find(찾을문자, 찾기 시작할 위치)
2. startswith -> True or False
string.startswith(시작하는문자, 시작지점)
3. endswith -> True or False
string.endswith(끝나는문자, 문자열의시작, 문자열의끝)