jodd-core/src/main/java/jodd/util/StringUtil.java
public static String stripToChar(final String string, final char c) {
		int ndx = string.indexOf(c);

		if (ndx == -1) {
			return string;
		}

		return string.substring(ndx);
	}
public static String stripToChar(final String string, final char c) {
		int ndx = string.indexOf(c);

		if (ndx == -1) {
			return string;
		}

		return string.substring(ndx);
	}
public static String stripToChar ( final String string , final char c ) { int ndx = string . indexOf ( c ) ; if ( ndx == - 1 ) { return string ; } return string . substring ( ndx ) ; }
Strips everything up to the first appearance of given char.
Character IS included in the returned string.
Strips everything up to the first appearance of given char . Character IS included in the returned string .