Sol.string.EndsWith

Sol.string.EndsWith = function(str, ends)

Returns true if "str" ends with "end"

From lua-users.org wiki