diff options
| author | ruki <[email protected]> | 2020-03-18 22:48:54 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-03-18 10:53:29 +0800 |
| commit | dd941c7ecac8c9d500660ed7ffc1af36b2ba54b6 (patch) | |
| tree | 781c9c96e654b1d76a6fc1cedffb6bcb191093d2 /xmake/core/base/string.lua | |
| parent | 5c3a3168f645495cc5d2ab3472d1e3d366bbb004 (diff) | |
rename string.find_last to lastof
Diffstat (limited to 'xmake/core/base/string.lua')
| -rw-r--r-- | xmake/core/base/string.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/string.lua b/xmake/core/base/string.lua index e188596ce..4a224b2c5 100644 --- a/xmake/core/base/string.lua +++ b/xmake/core/base/string.lua @@ -31,7 +31,7 @@ string._trim = string._trim or string.trim string._split = string._split or string.split -- find the last substring with the given pattern -function string:find_last(pattern, plain) +function string:lastof(pattern, plain) -- find the last substring local curr = 0 |
