toggle menu
common-ext
2.4.0
jvm
switch theme
search in API
common-ext
/
io.github.caijiang.common
/
removePrefixUntilLast
remove
Prefix
Until
Last
fun
String
.
removePrefixUntilLast
(
target
:
String
)
:
String
Return
将最后一个目标字符串以及在此之前的所有字符移除 并且返回新的字符串;如果没有找到就返回当前字符串
Parameters
target
目标字符串