X interview question

Generic string modification questions, split them, modify them, dice them up