Typescript Replace Part Of String Concatenation C