You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
local M = {}
|
|
|
|
function M.new(sep)
|
|
sep = sep or ' '
|
|
|
|
return function(...)
|
|
local argc, argv = select('#', ...), {...}
|
|
for i = 1, argc do
|
|
argv[i] = tostring(argv[i])
|
|
end
|
|
return (table.concat(argv, sep))
|
|
end
|
|
end
|
|
|
|
return M
|
|
|