local p={}for C,H in pairs(string)do p[C]=H end p.split=function(p,C)local H={}if C==""then for C=1,#p,1 do H[C]=p:sub(C,C)end else if C==nil then C="\044"end local h=1 local v=1 local q,U=p:find(C,v,true)while q do H[h]=p:sub(v,q-1)h=h+1 v=U+1 q,U=p:find(C,v,true)end H[h]=p:sub(v)end return H 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
