📅  最后修改于: 2022-03-11 14:52:35.864000             🧑  作者: Mango
代码示例1
String textfile = "ReadMe.txt";
String filename = textfile.split("\\.")[0];
String extension = textfile.split("\\.")[1];