(String).startsWith [1] public boolean startsWith(String prefix)
指定文字列で始まるか真偽します。
if (s1.startsWith("ho") { System.out.println("true"); }