4,599
edits
No edit summary |
No edit summary Tag: Reverted |
||
Line 31: | Line 31: | ||
function Split(s, delimiter) | function Split(s, delimiter) | ||
result = {}; | result = {}; | ||
for match in (s..delimiter):gmatch("(. | for match in (s..delimiter):gmatch("(./)"..delimiter) do | ||
table.insert(result, match); | table.insert(result, match); | ||
end | end |