Why not using `replace()`?