《编程思想》正则表达式学习笔记
String类自带一个正则表达式工具 — split()方法,其功能是"将字符串从正则表达式匹配的地方切开"public class Splitting { public static String knights = "Then, when you have found the shrubbery, you must" + "cut down the mightiest tree in the forest ..." + .
原创
2020-09-08 17:03:55 ·
237 阅读 ·
0 评论