Kik interview question

Coding challenge was string manipulation, fairly easy.