「Java」charAt()で文字列を取得するサンプル Ad 2020年7月30日書式 public char charAt(int index) サンプルコード public class Demo { public static void main(String[] args) { String cft= "this is a test data"; System.out.println(cft.charAt(2)); } } JavaPosted by arkgame