How to replace the charactors in the string?

if don’t println, it costs 0.173 seconds