Module:Split

local p = {}

function p.get(frame) local array = {} for i in string.gmatch(frame.args[1], "[^;]+") do   table.insert(array, i)  end return array[tonumber(frame.args[2])] end

function p.getCorrectName(frame) local array = {} for i in string.gmatch(frame.args[1], "[^;]+") do   table.insert(array, i)  end if array[tonumber(frame.args[2])] == "Original" then return array[4] elseif array[tonumber(frame.args[2])] == "Cursed" then return array[4] else return array[tonumber(frame.args[2])] end end

return p