$MyArray=StringSplit("Blue|Red","|"); create array
; this creates a 3 element array with the first element having the amount of elements besides itself. In this case $MyArray[0]=2
for $i=1 to $MyArray[0]
msgbox(1,"Color",$MyArray[$i])
next