프로그래밍/Python 3 - 응용
[파이썬 함수] #1. startswith
YoungQ
2019. 3. 15. 13:02
반응형
#1. str.startsWith(searchString[, position])
매개변수
searchString
- 문자열의 시작 지점에서 탐색할 문자열
position
OptionalsearchString
을 탐색할 위치. 기본값 0.
반환 값
문자열이 검색 문자열로 시작하면 true
, 아니면 false
.
< From : https://developer.mozilla.org/ko/docs/Web/JavaScript/Reference/Global_Objects/String/startsWith >
반응형