摘要: String str = "sdfjsd232"; str = str.replaceAll("\\D",""); int i = Integer.parseInt(str); System.out.println(i); 将字符去掉,在转成数值型 阅读全文
posted @ 2022-05-20 10:41 泽国江山入战图 阅读(192) 评论(0) 推荐(0) 编辑