endsWith

fnbool endsWith(IStr str, IStr end)

Returns true if the string ends with the specified substring.

fnbool endsWith(IStr str, char end)

Returns true if the string ends with the specified character.