Typescript Remove Last 3 Characters From String