ArrayTrim()

Resizes the array down to the size given, removing the extra elements from the end

Usage

BOOLEAN = ArrayTrim( array, size )
Argument Summary
array array
size new array size

Calling

Supports named-parameter calling allowing you to use the function like:

ArrayTrim(
   array=?, 
   size=?
);

Supports passing parameters as a structure using ArgumentCollection:

ArrayTrim( ArgumentCollection={
   array : ?, 
   size : ?
} );