📌  相关文章
📜  点之前的文本 java 代码示例

📅  最后修改于: 2022-03-11 14:52:09.358000             🧑  作者: Mango

代码示例1
String filename = "abc.def.ghi";     // full file name
String[] parts = filename.split("\\."); // String array, each element is text between dots

String beforeFirstDot = parts[0];    // Text before the first dot