1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
local function join(...) return table.concat({...}," ") end local function split(s) local o = {} for w in string.gmatch(s,"(%S+)") do table.insert(o,w) end return o end return { join=join, split=split, }