substring
contains
startsWith
指定した文字列を含むか確認します。
str.contains(other)
下記の値を入力するとサンプルに即時反映されます。
println
println("Hello".contains("ell")) // true