Buy me a coffee
Kotlin
›
문자열
›
indexOf
indexOf
문자열
처음 나타나는 인덱스를 반환합니다. 없으면 -1.
문법
str.indexOf(string)