You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Finds the last instance of a pattern within a string.
string.findlast("str", "pattern", plain)
Parameters
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).
Return Value
The matching pattern, if found, or nil if there were no matches.