Concat() Concatenare stringhe




Il metodo concat()
concat() unisce due o piu' stringhe:

Esempio
let text1 = "Hello";
let text2 = "World";
let text3 = text1.concat(" ", text2);


oppure

text = "Hello" + " " + "World!";
text = "Hello".concat(" ", "World!");










( concatconcatenarestringhe.html )- by Paolo Puglisi - Modifica del 17/12/2023