mirror of
https://github.com/joe7575/techpack.git
synced 2024-11-22 15:23:43 +01:00
issue #49 fixed
This commit is contained in:
parent
ef9967a6ed
commit
3f67446cc2
@ -2,6 +2,18 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## V2.03.12 (2020-07-23)
|
||||||
|
|
||||||
|
### Additions
|
||||||
|
|
||||||
|
### Removals
|
||||||
|
|
||||||
|
### Changes
|
||||||
|
|
||||||
|
### Fixes
|
||||||
|
- string.split bugfix (issue #49)
|
||||||
|
|
||||||
|
|
||||||
## V2.03.11 (2020-07-21)
|
## V2.03.11 (2020-07-21)
|
||||||
|
|
||||||
### Additions
|
### Additions
|
||||||
|
@ -57,7 +57,9 @@ local BASE_ENV = {
|
|||||||
rep = string.rep,
|
rep = string.rep,
|
||||||
sub = string.sub,
|
sub = string.sub,
|
||||||
upper = string.upper,
|
upper = string.upper,
|
||||||
split = string.split,
|
split = function(str, separator, include_empty, max_splits, sep_is_pattern)
|
||||||
|
return safer_lua.Array(unpack(string.split(str, separator, include_empty, max_splits, sep_is_pattern)))
|
||||||
|
end,
|
||||||
trim = string.trim,
|
trim = string.trim,
|
||||||
},
|
},
|
||||||
tonumber = tonumber,
|
tonumber = tonumber,
|
||||||
|
Loading…
Reference in New Issue
Block a user