Go to: Synopsis. Return value. MEL examples.

Synopsis

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

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

Return value

None

Arguments

Variable Name Variable Type Description
$copyTostring[]Append other array to this one
$copyFromstring[]Array to copy the elements from
$numberToCopystringNumber 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" }