15.077
Bearbeitungen
(fix c.split2()) |
(fix c.split2()) |
||
| Zeile 37: | Zeile 37: | ||
-- to do: merge with p.split() | -- to do: merge with p.split() | ||
-- mw.log("split2(" .. (s or "nil") .. ", " .. (delimiter or "nil") .. ")") | -- mw.log("split2(" .. (s or "nil") .. ", " .. (delimiter or "nil") .. ")") | ||
local result = {} | |||
if not c.isEmpty(s) then | if not c.isEmpty(s) then | ||
delimiter = delimiter or " " | delimiter = delimiter or " " | ||