📜  获取 charAt 的快速方法 - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:11.698000             🧑  作者: Mango

代码示例2
String str = "a really, really long string";
for (int i = 0, n = str.length(); i < n; i++) {
    char c = str.charAt(i);
}