File file=new File("d:/test.txt"); System.out.println(file.getName().replaceAll("[.][^.]+$", ""));
62,615
社区成员
307,307
社区内容
加载中
试试用AI创作助手写篇文章吧