We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Home > [Scripting Reference](Scripting Reference) > string.endswith
The string.endswith function returns true if the given string ends with the provided sequence.
#!lua string.endswith("haystack", "needle")
haystack is the string to check. needle is the ending sequence to check against.
True if haystack ends with needle.
There was an error while loading. Please reload this page.