From: Arti Singh Date: 2010-07-27T01:11:20+09:00 Subject: Unable to access the elements in an array with array[1][0] I feel quite silly asking this question, but here I am. I have what I believe to be a 2 dimensional array, but I can not access the elements in the array with the array syntax array[1][0] when I select the first element in the array with array.first or array[1], I get array[["first","first value"]] but I am not able to access the string "first" or the string "first value" my array looks like : [["first","first value"]] [["second","second value"]] [["third","third value"]] [["third","third value"]] [["fifth","fifth value"]] How can I get the elements in this array? am I missing something here? -- Posted via http://www.ruby-forum.com/.