Typescript Split String Into Array Javascript Concat Example Java