###User Defined Function###
_ArrayTrim

###Description###
Trims a certain number of characters from all elements in a 1D or 2D array

###Syntax###
#include <Array.au3>
_ArrayTrim ( ByRef $aArray, $iTrimNum [, $iDirection = 0 [, $iStart = 0 [, $iEnd = 0 [, $iSubItem = 0]]]] )


###Parameters###
@@ParamTable@@
$aArray
	Array to modify
$iTrimNum
	Number of characters to remove
$iDirection
	[optional] Direction to trim:
		0 - trim left
		1 - trim right
$iStart
	[optional] Index of array to start trim
$iEnd
	[optional] Index of array to stop trim
$iSubItem
	[optional] Column to trim
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	1.
Failure:	0 and sets the @error flag to non-zero.
@error:	1 - $aArray is not an array
	2 - $aArray is not an 1D or 2D array
	3 - $iStart or $iEnd outside array bounds
	4 - $iStart is greater than $iEnd
	5 - $iSubItem outside array bounds
@@End@@


###Remarks###
None.


###Related###
None.


###Example###
@@IncludeExample@@
