Java.lang.string.cahrAt()方法介绍

如图所示,charAt()方法用于返回指定索引处的字符,范围是0-length()-1.

通过测试可以看到,下标为2的内容为3

原文地址:https://www.cnblogs.com/baicia/p/13975984.html