摘要: 重点是正则 String input = "abcdefghijk"; String regex = "(.{2})"; input = input.replaceAll (regex, "$1 "); System.out.println (input); 阅读全文
posted @ 2019-01-24 17:38 渔阳nice 阅读(375) 评论(0) 推荐(0) 编辑