Module:UtilsString

local p = {}

function p.Explode(str, pattern) local strings = mw.text.split(str, pattern) for key, value in ipairs(strings) do		strings[key] = mw.text.trim(value) end return strings end

return p