-
-
Notifications
You must be signed in to change notification settings - Fork 640
string.contains
starkos edited this page Apr 10, 2021
·
3 revisions
This wiki is no longer being maintained.
Returns true if the string contains the specified substring.
string.contains("haystack", "needle")haystack is the string to be tested.
needle is the substring for which to search. Lua patterns are not supported.
True if haystack contains needle.
Premake 5.0 or later.