日期:2014-05-20 浏览次数:20658 次
String str = "+3.2mm~-0.4mm"; str = str.replaceAll("[^0-9.-]",""); String[] result = str.split("-"); System.out.print(str);