Pregunta de entrevista de Comcast

Replace a word in a string with another substring