Typescript Push One Array To String Javascript Substring From Right