🌈 搜索
📅  最后修改于: 2022-03-11 14:52:22.533000             🧑  作者: Mango
String str = "abcd..."; ArrayList chars = new ArrayList(); for (char c : str.toCharArray()) { chars.add(c); }