mirror of
https://github.com/1bardesign/batteries.git
synced 2024-11-25 23:24:35 +00:00
fix spacing
This commit is contained in:
parent
23bc392b6e
commit
b01ba8e506
@ -20,8 +20,8 @@ function stringx.split(self, delim, max_split)
|
|||||||
assert:type(max_split, "number", "stringx.split - max_split", 1)
|
assert:type(max_split, "number", "stringx.split - max_split", 1)
|
||||||
|
|
||||||
if max_split then
|
if max_split then
|
||||||
assert(max_split > 0, "max_split must be positive!")
|
assert(max_split > 0, "max_split must be positive!")
|
||||||
end
|
end
|
||||||
|
|
||||||
--we try to create as little garbage as possible!
|
--we try to create as little garbage as possible!
|
||||||
--only one table to contain the result, plus the split strings.
|
--only one table to contain the result, plus the split strings.
|
||||||
|
Loading…
Reference in New Issue
Block a user