symplr interview question

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