question: public static boolean endsWithIgnoreCase ( String str , String suffix ) { return str != null && suffix != null && str . regionMatches ( true , str . length ( ) - suffix . length ( ) , suffix , 0 , suffix . length ( ) ) ; }
target:  Test if the given String ends with the specified suffix, ignoring upper/lower case.