Buy me a coffee
Kotlin
›
文字列
›
startsWith
←
contains
startsWith
文字列
endsWith
→
指定したプレフィックスで始まるか確認します。
構文
str.startsWith(prefix)