public static boolean equalsIgnoreCase(char ch1,char ch2){
  if (ch1 == ch2)   return true;
  ch1=Character.toUpperCase(ch1);
  ch2=Character.toUpperCase(ch2);
  if (ch1 == ch2)   return true;
  return Character.toLowerCase(ch1) == Character.toLowerCase(ch2);
}

public static boolean equalsIgnoreCase ( char ch1 , char ch2 ) { if ( ch1 == ch2 ) return true ; ch1 = Character . toUpperCase ( ch1 ) ; ch2 = Character . toUpperCase ( ch2 ) ; if ( ch1 == ch2 ) return true ; return Character . toLowerCase ( ch1 ) == Character . toLowerCase ( ch2 ) ; }
returns true if the two characters are equal if case is ignored .
