Java文字列indexOf
substring

indexOf文字列

contains

指定した値が最初に現れるインデックスを返します。

構文

str.indexOf(str, fromIndex?)