length
charAt
substring
指定したインデックスの文字を返します。
str.charAt(index)
下記の値を入力するとサンプルに即時反映されます。
String
System
out
println
String s = "Hello"; System.out.println(s.charAt(0)); // 'H' System.out.println(s.charAt(4)); // 'o'