String replace not working properly

Printable View