charAt (int index)方法是一個能夠用來檢索特定索引下的字符的String實例的方法。charAt()方法返回指定索引位置的char值。索引範圍為0~length()-1,如: str.
確定! 回上一頁