Add replacing character of a string