public static String cutFromIndexOf(String string, final String substring) {
    """
	Cuts the string from the first index of provided substring to the end.
    """
		int i = string.indexOf(substring);
		if (i != -1) {
			string = string.substring(i);
		}
		return string;
	}
public static String cutFromIndexOf(String string, final String substring) {
		int i = string.indexOf(substring);
		if (i != -1) {
			string = string.substring(i);
		}
		return string;
	}
public static String cutFromIndexOf ( String string , final String substring ) { int i = string . indexOf ( substring ) ; if ( i != - 1 ) { string = string . substring ( i ) ; } return string ; }
Cuts the string from the first index of provided substring to the end.
Cuts the string from the first index of provided substring to the end .