SubArray —
arraySubArray(start, end);
int start;
int end;
Return a portion of the array from start to end
Parameters
The first element to include in result array
The last element to include in result array
Causes error.array.ErrBadStartIndex if start parameter is less than or if it is greater than the dimension of the array. If start is 0, than the sub array begins with the first element of the array. Causes error.array.ErrBadEndIndex if end parameter is less than 0. If end is 0, than the sub array ends with the last element of the array.