summaryrefslogtreecommitdiff
path: root/strutil.lua
blob: 47ddb06fe9745c03985ed5d81b9ac5db5c3c2d28 (plain)
1
2
3
4
5
6
7
local function splitw(str)
	local res = {}
	for s in str:gmatch("%S+") do
		table.insert(res,s)
	end
	return res
end