Java文字列startsWith
contains

startsWith文字列

endsWith

この文字列が指定したプレフィックスで始まるかどうかを確認します。

構文

str.startsWith(prefix, offset?)