标签:插入 string ring bsp 字符串 input java abc 正则
重点是正则
String input =
"abcdefghijk"
;
String regex =
"(.{2})"
;
input = input.replaceAll (regex,
"$1 "
);
System.out.println (input);
标签:插入 string ring bsp 字符串 input java abc 正则
原文地址:https://www.cnblogs.com/CHWLearningNotes/p/10315866.html