From: Chris Chris Date: 2008-07-07T23:27:01+09:00 Subject: Multiply elements in array Hi, This is what I have got: arr = ["abc", ["def", "def", "def"]] This is what I would like: arr_final = [["abc", "def"], ["abc", "def"], ["abc", "def"]] --------------------------------------------------- If I manage to modify arr to a2 = [["abc", "abc", "abc"], ["def", "def", "def"]] I could simply use .transpose to get arr_final... There might be other ways too, but unfortunately, I'm still at square 1. Any ideas? Cheers, Chris -- Posted via http://www.ruby-forum.com/.