There must be an easy way to do this but I can't figure out how to do so in Typescript.
I have the strings:
string origin = 'app-home';
string modifier = 'ua-';
And I want to end up with a result
string with the value:
console.log(result); // app-ua-home
Is there a way to do this easily? npm
libraries could also be useful.
Thanks.