-
-
Notifications
You must be signed in to change notification settings - Fork 640
string.findlast
starkos edited this page Apr 10, 2021
·
3 revisions
This wiki is no longer being maintained.
Finds the last instance of a pattern within a string.
string.findlast("str", "pattern", plain)str is the string to be searched. pattern is the pattern to search for; it may use Lua's pattern matching syntax. If plain is true, no pattern matching will be performed (faster).
The matching pattern, if found, or nil if there were no matches.
Premake 4.0 or later.