String str = "000000001234034120";
String newStr = str.replaceAll("^(0+)", "");
System.out.println(newStr);

相关文章:

  • 2022-03-01
  • 2022-12-23
  • 2022-12-23
  • 2021-06-01
  • 2022-12-23
  • 2022-12-23
  • 2022-01-05
  • 2022-12-23
猜你喜欢
  • 2022-01-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案