Typescript Part Of String Javascript Example