Pregunta de entrevista de Kik

Coding challenge was string manipulation, fairly easy.