endsWith

Returns true if this string ends with the given suffix.

Syntax
aString endsWith (suffix)
Parameters
suffix - String
The suffix string.
Return Value
True if this string ends with the given suffix.