登 录
使用正则表达式
String str = "000000001234034120";
String newStr = str.replaceAll("^(0+)", ""); System.out.println(newStr);
抱歉!评论已关闭.