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 endsWith method is useful for efficient string parsing as it does not
require new string objects be extracted from the target string.