public static boolean containsIgnoreCase(String pString, int pChar) {
        return ((pString != null)
                && ((pString.indexOf(Character.toLowerCase((char) pChar)) >= 0)
                || (pString.indexOf(Character.toUpperCase((char) pChar)) >= 0)));

        // NOTE: I don't convert the  string to uppercase, but instead test
        // the string (potentially) two times, as this is more efficient for
        // long strings (in most cases).
    }
public static boolean containsIgnoreCase ( String pString , int pChar ) { return ( ( pString != null ) && ( ( pString . indexOf ( Character . toLowerCase ( ( char ) pChar ) ) >= 0 ) || ( pString . indexOf ( Character . toUpperCase ( ( char ) pChar ) ) >= 0 ) ) ) ; }
Tests if a string contains a specific character, ignoring case.

@param pString The string to check.
@param pChar   The character to search for.
@return true    if the string contains the specific character.