Product Site

5.1.7.40. caselessEndsWith

Returns .true if the characters of the other match the characters at the end of the target string. Returns .false if the characters are not a match, or if other is the null string. The match is made using caseless comparisons.

The caselessEndsWith method is useful for efficient string parsing as it does not require new string objects be extracted from the target string.

See also methods caselessStartsWith, endsWith, and caselessMatch.