I have just started programming with javascript. I am trying to work with arrays and I don't understand why I am getting a split is not a function error, when I try to split the content of the array like in the following code.
var addressArray=[[]];
/*
some code to pass values to the addressArray
*/
var values=addressArray[i].split(/ ,+/);
the error is occuring where I am spliting
.split()function for arrays. There is a String.split()however. It's hard to know what it is you want to do without actually seeing the stuff in your array.