local s={}for t,c in pairs(string)do s[t]=c end s.split=function(s,t)local c={}if t==""then for t=1,#s,1 do c[t]=s:sub(t,t)end else if t==nil then t="\044"end local b=1 local p=1 local B,W=s:find(t,p,true)while B do c[b]=s:sub(p,B-1)b=b+1 p=W+1 B,W=s:find(t,p,true)end c[b]=s:sub(p)end return c end return s
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
