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.startswith
The string.startswith function returns true if the given string starts with the provided sequence.
#!lua string.startswith("haystack", "needle")
haystack is the string to check. needle is the starting sequence to check against.
True if haystack starts with needle.