String file = "ab.c.d.txt"; System.out.println( file.substring(file.lastIndexOf(".")) );
62,621
社区成员
307,251
社区内容
加载中
试试用AI创作助手写篇文章吧