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