Typescript Remove Last Two Characters Of String