public static int lastIndexOf(final String input, final char delim) {
        return input == null ? -1 : lastIndexOf(input, delim, input.length());
    }
public static int lastIndexOf ( final String input , final char delim ) { return input == null ? - 1 : lastIndexOf ( input , delim , input . length ( ) ) ; }
Gets the last index of a character ignoring characters that have been escaped

@param input The string to be searched
@param delim The character to be found
@return The index of the found character or -1 if the character wasn't found