question: public static boolean endsWithIgnoreCase ( String src , String subS ) { String sub = subS . toLowerCase ( ) ; int sublen = sub . length ( ) ; int j = 0 ; int i = src . length ( ) - sublen ; if ( i < 0 ) { return false ; } while ( j < sublen ) { char source = Character . toLowerCase ( src . charAt ( i ) ) ; if ( sub . charAt ( j ) != source ) { return false ; } j ++ ; i ++ ; } return true ; }
target:  Tests if this string ends with the specified suffix.