Im trying to use the split() function to tear apart a string and store it into an array. I know there will always only be only two words seperated by a ':'. The problem comes when I attempt to display one of the words stored in the array. For example:<BR><BR>var myArray = string.split(":")<BR>document.write(myArray(1))<BR ><BR>It gives me an error saying "function expected". Anyone know what I am doing wrong?