charAt(i) 函数

charAt(i) 函数 是获取字符串中i位置的字符

str.charAt(i)的意思是第i个字符在字符串str中所占的位置,输出的是数字

原文地址:https://www.cnblogs.com/zhoumin6012/p/9921100.html