Initial community commit
This commit is contained in:
19
Src/external_dependencies/openmpt-trunk/include/premake/website/docs/string.findlast.md
vendored
Normal file
19
Src/external_dependencies/openmpt-trunk/include/premake/website/docs/string.findlast.md
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
Finds the last instance of a pattern within a string.
|
||||
|
||||
```lua
|
||||
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.
|
||||
|
||||
|
||||
### Availability ###
|
||||
|
||||
Premake 4.0 or later.
|
||||
Reference in New Issue
Block a user