Question d’entretien chez Roblox

Question involving string manipulation and removing consecutive characters