Pregunta de entrevista de Microsoft

Make erase function for a string. Design a system for tabs