premake/website/docs/string.startswith.md
2021-03-12 22:10:24 +01:00

395 B

Returns true if the given string starts with the provided sequence.

string.startswith("haystack", "needle")

Parameters

haystack is the string to check. needle is the starting sequence to check against.

Return Value

True if haystack starts with needle.

Availability

Premake 4.0 or later.

See Also