This repository has been archived on 2022-12-23. You can view files and clone it, but cannot push or open issues or pull requests.
fuck-premake-old2/website/docs/string.endswith.md
2021-03-12 22:10:24 +01:00

391 B

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

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

Parameters

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

Return Value

True if haystack ends with needle.

Availability

Premake 4.0 or later.

See Also