🌈 搜索
📅  最后修改于: 2022-03-11 14:52:36.588000             🧑  作者: Mango
String str= "abcdef"; String[] array=str.split("(?<=\\G.{2})"); System.out.println(java.util.Arrays.toString(array));