issue #49 fixed

This commit is contained in:
Joachim Stolberg 2020-07-23 19:51:29 +02:00
parent ef9967a6ed
commit 3f67446cc2
2 changed files with 15 additions and 1 deletions

@ -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)
### Additions

@ -57,7 +57,9 @@ local BASE_ENV = {
rep = string.rep,
sub = string.sub,
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,
},
tonumber = tonumber,