Typescript Replace Character In Stringbuilder Append