From: Jesse Merriman Date: 2005-07-29T00:14:12+09:00 Subject: Joining an Array of Arrays Hi, I tried joining an Array of Arrays, and it seems the Array is being flattened first or something. ri Array#join tells me: Returns a string created by converting each element of the array to a string, separated by _sep_. Its the part about each element getting converted to a string that seems wrong: > x = [[1, 2], [3, 4]] > print x[0].to_s, ' ', x[1].to_s #=> "12 34" > x.join(' ') #=> "1 2 3 4" I expected join to produce "12 34"; why doesn't it? -- Jesse Merriman jessemerriman@warpmail.net -- http://www.fastmail.fm - Access your email from home and the web