Kotlin文字列substring
length

substring文字列

contains

指定した範囲の部分文字列を返します。

構文

str.substring(startIndex, endIndex?)