Pergunta de entrevista da empresa Accenture

A small program that takes a String as an input, and makes some changes on it. There was nothing tricky, you only need to be fast since the time is limited. They also wanted test code for the program.