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
splice()
Exemplos
String sa1[] = { "OH ", "NY ", "CA "};
sa1 =splice(sa1, "KY ", 1);
print(sa1); // Prints "OH KY NY CA " println();
String sa2[] = { "VA ", "CO ", "IL " };
sa1 =splice(sa1, sa2, 2);
print(sa1); // Prints "OH KY VA CO IL NY CA "
Descrição
Inserts a value or array of values into an existing array. The first two parameters must be of the same datatype. The array parameter defines the array which will be modified and the second parameter defines the data which will be inserted.