public static boolean endsWith ( CharSequence s , String end ) { return ( s . length ( ) >= end . length ( ) && s . subSequence ( s . length ( ) - end . length ( ) , s . length ( ) ) . equals ( end ) ) ; }
TRUE if the Charsequence ends with the string