Pergunta de entrevista da empresa Tanium

Reverses string with special character in place