growup

File file=new File("d:/a/aa/test.1.txt");
  System.out.println(file.getName().replaceAll("[.][^.]+$", ""));

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-12-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-28
  • 2021-12-10
  • 2022-12-23
  • 2021-07-19
相关资源
相似解决方案