Pergunta de entrevista da empresa Nearform

String manipulation coding question. Know your strings, loops, splits and joins.