local p={}for n,Q in pairs(string)do p[n]=Q end p.split=function(p,n)local Q={}if n==""then for n=1,#p,1 do Q[n]=p:sub(n,n)end else if n==nil then n="\044"end local i=1 local z=1 local x,d=p:find(n,z,true)while x do Q[i]=p:sub(z,x-1)i=i+1 z=d+1 x,d=p:find(n,z,true)end Q[i]=p:sub(z)end return Q end return p
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
