jodd-core/src/main/java/jodd/util/StringUtil.java
public static String cutPrefix(String string, final String prefix) {
		if (string.startsWith(prefix)) {
			string = string.substring(prefix.length());
		}
		return string;
	}
public static String cutPrefix(String string, final String prefix) {
		if (string.startsWith(prefix)) {
			string = string.substring(prefix.length());
		}
		return string;
	}
public static String cutPrefix ( String string , final String prefix ) { if ( string . startsWith ( prefix ) ) { string = string . substring ( prefix . length ( ) ) ; } return string ; }
Cuts prefix if exists.
Cuts prefix if exists .