Package io.github.caijiang.common
Class EXTKt
-
- All Implemented Interfaces:
public final class EXTKt
-
-
Method Summary
Modifier and Type Method Description final static StringremovePrefixUntilLast(String $self, String target)-
-
Method Detail
-
removePrefixUntilLast
final static String removePrefixUntilLast(String $self, String target)
- Parameters:
target- 目标字符串- Returns:
将最后一个目标字符串以及在此之前的所有字符移除 并且返回新的字符串;如果没有找到就返回当前字符串
-
-
-
-