メソッド Type method
文字列.charAt(位置) Format string. CharAt (position)
Commentary
文字列から1文字抜き出します。抜KI出SHIMASU characters from a string. 最初の文字の位置が0,次が1になり以後1ずつ増えていきます。 The first character position 0, the next one will be a subsequent increase.
サンプルコード Sample code
str = "Sample"; str = "Sample";
n = str.charAt(1); n = str.charAt (1);
outputs[0] = n; outputs [0] = n;