摘要: 1.判断字符串中是否有数字: String s = "升降机123"if(isNumeric(s)){} public static boolean isNumeric(String str) { Pattern pattern = Pattern.compile(".*[0-9].*"); ret 阅读全文
posted @ 2023-01-13 14:36 华了个华 阅读(771) 评论(0) 推荐(0)