Module:StrSplit

--This module has been superceeded by Module:StrManip. --This module will stay up for compatibility purposes.

function strSplit(str,sep) if sep == nil then sep = "%s" end local res = {} for i in string.gmatch(str,"([^"..sep.."]+)") do       table.insert(res,i) end return res end