local Y={}for J,K in pairs(string)do Y[J]=K end Y.split=function(Y,J)local K={}if J==""then for J=1,#Y,1 do K[J]=Y:sub(J,J)end else if J==nil then J="\044"end local q=1 local e=1 local f,P=Y:find(J,e,true)while f do K[q]=Y:sub(e,f-1)q=q+1 e=P+1 f,P=Y:find(J,e,true)end K[q]=Y:sub(e)end return K end return Y
local rbxString = {}

for key, value in pairs(string) do
	rbxString[key] = value
end

rbxString.split = function(str, sep)
	local result = {}

	if sep == "" then
		for i = 1, #str do
			result[i] = str:sub(i, i)
		end
	else
		if sep == nil then
			sep = ","
		end

		local count = 1
		local pos = 1
		local a, b = str:find(sep, pos, true)

		while a do
			result[count] = str:sub(pos, a - 1)
			count = count + 1
			pos = b + 1
			a, b = str:find(sep, pos, true)
		end

		result[count] = str:sub(pos)
	end

	return result
end

return rbxString
