Actually, the "easiest" way is to use the Join command:
 Code:
Join($array, ',') ?
This might be less obvious than a For/Next loop, but can be done in one line. If you want multiple lines of output (one element per line) just change the "','" in the example to "@CRLF". That string defines the delimiter between the array elements. This also eliminates the trailing "," that results when using For Next without additional logic.

Join takes an array and combines it into a string, using the specified delimiter string. Key word is "string", since most of us think of a "delimiter" as a single character. Join can use one or more characters as its delimiter, so it is often used with Split to replace words. For example:
 Code:
$Text = 'The quick brown fox'
Join(Split($Text, 'brown'), 'Arctic') ?
splits the string into an array containing "The quick " and " fox", discarding "brown", then Join puts the array back together with "Arctic" as the delimiter. The result is "The quick Arctic fox".

Glenn
_________________________
Actually I am a Rocket Scientist! \:D