You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
villares edited this page May 24, 2020
·
4 revisions
Nome
concat()
Exemplos
String sa1[] = { "OH ", "NY ", "CA "};
String sa2[] = { "KY ", "IN ", "MA "};
String sa3[] =concat(sa1, sa2);
print(sa3); // Imprime "OH NY CA KY IN MA "
Descrição
Concatena dois arrays. Por exemplo, a
concatenação do array { 1, 2, 3 } com o array { 4,
5, 6 } resulta em { 1, 2, 3, 4, 5, 6 }. Ambos os arrays devem ser
do mesmo tipo de dados.
Sintaxe
concat(array1, array2)
Parâmetros
array1, array2
booleans[], bytes[], chars[], ints[], floats[], ou Strings[]