[thelist] string to multidimensional array

Daniel Kessler danielk at UMD.EDU
Mon Apr 2 09:49:08 CDT 2007


I have a string, '[[1,"myName"],[2,"myOtherName"]]'.  I feed this to  
js as a variable.  How do I turn this into a multidimensional array.   
So far, I can only create an array of length==1.
Do I have to parse through it?  So far I've been avoiding that.

thanks.


-- 

Daniel Kessler

College of Health and Human Performance
University of Maryland
Suite 2387 Valley Drive
College Park, MD  20742-2611
Phone: 301-405-2545
http://hhp.umd.edu






More information about the thelist mailing list