8.2.53.9 string.endsWith

Method: out = endsWith (obj, pattern)
Method: out = endsWith (obj, pattern, 'IgnoreCase', true/false)

Test if string ends with pattern.

Returns a logical array the size of the scalar expansion of obj and pattern.