Returns true if the given string ends with the provided sequence.
string.endswith("haystack", "needle")
haystack
is the string to check. needle
is the ending sequence to check against.
True if haystack ends with needle.
Premake 4.0 or later.