Typescript Remove First And Last Character From String