Module:Array

From Moegirlpedia
Jump to: navigation, search
Template-info.svg Module Documentation  [Create] [Refresh]
local p = {}

function p.parse(string)
	local ret = mw.text.split(string:gsub('@@','\1'),'@')
	for i, v in pairs(ret) do
		ret[i] = v:gsub('\1','@')
	end
	return ret
end

return p