📅  最后修改于: 2022-03-11 14:55:31.597000             🧑  作者: Mango
代码示例1
String str = "00051700";
String strPattern = "^0+";
System.out.println( "String: " + str.replaceAll(strPattern, "") );