- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for substringToLast (0.31 seconds)
-
src/main/java/org/codelibs/core/lang/StringUtil.java
* * @param str * the string * @param separator * the separator * @return the resulting string */ public static String substringToLast(final String str, final String separator) { if (isEmpty(str) || isEmpty(separator)) { return str; } final int pos = str.lastIndexOf(separator); if (pos == -1) {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Feb 12 12:10:45 GMT 2026 - 21.5K bytes - Click Count (0)