📜  取字符串直到 - Java 代码示例

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

代码示例1
String filename = "abc.def.ghi";

String start = StringUtils.substringBefore(filename, "."); // returns "abc"