Instead of calling replace, using remove/insert, as there's no way of replacing only 1 char at a given position by another string directly.