Pergunta de entrevista da empresa symplr

It was too easy. Write a method to do something simple on a string.