Typescript Replace Char In A String