
Array.Create("GreetingsArr")
Array.Append("GreetingsArr", "Happy Holidays")
Array.Append("GreetingsArr", "Happy Easter")
Array.Append("GreetingsArr", "Merry Christmas")
varArrSize = Array.Size("GreetingsArr")
Note:
GreetingArr – this is the name of the array object.
VarStrGreetings = Array.Get("GreetingsArr", 1)
Note:
GreetingArr – this is the name of the array object.
VarStrGreetings – this is a string variable.
The Array.Get("GreetingsArr", 1) method will return the second element in the array object. If it is based from the first example, then it will return “Happy Easter.
local.result = Array.AppendCSVString("testArr", "1,2,Name,Surname", """);
Note:
testArr– this is the name of the array object.
"1,2,Name,Surname" results in an array with four elements
local.result - Will contain the result of the operation.
Array.Create("test");
Array.Append("test", 1);
Array.Append("test", "John");
Array.Append("test", "Smith");
Array.Append("test", "Silverwater, Sydney");
local.str = Array.ToCSVString("test", "\"", false);
Note:
test– this is the name of the array object.
local.str - Will contain 1,John,Smith,"Silverwater, Sydney"