Typescript Remove Character From String C