Typescript Use Variable In String Python Replace Char In String