- 博客(2)
- 收藏
- 关注
原创 正则表达式.Java.eclipse
一、了解String类的matches() ——String1.matches(String2) 方法用于检测字符串是否匹配给定的如果匹配则为true,否则为false; 上代码:package 正则;public class Try { public static void main(String[] args) { String s=new String("lypp");//字符串s String r="lypp123";//字符串r System.out...
2022-03-24 15:44:18 150
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人