Go to: Synopsis. Return value. MEL examples.


appendStringArray(string $copyTo[], string $copyFrom[], int $copySize)

Appends the given number of values from one string array to the end of another.

Return value



Variable Name Variable Type Description
$copyTo string[] Append other array to this one
$copyFrom string[] Array to copy the elements from
$numberToCopy string Number of items in $copyFrom array to append

MEL examples

  string $to[] = { "a", "b", "c" };
  string $from[] = { "d", "e", "f" };
  appendStringArray($to, $from, 2);
        // $to == { "a", "b", "c", "d", "e" }