Tanium interview question

Reverses string with special character in place