I'm learning how to use spritesheets and wanted to make a mini in-game explorer. I found a table which contains most services but without any spacing in the names. Is there any way to add spaces before every capital letter? Current code (Modified to be smaller):


local parenframe = script.Parent.Parent.Frame

-- //Create them

for i,v in pairs(ExplorerIndex) do
	local spacedName = -- Perform string manipulation
	if game[spacedName] then
		-- Create the label
	end
end