From: Logan Capaldo Date: 2006-03-04T05:39:06+09:00 Subject: Re: Array comparison returning nil --Apple-Mail-17--97628665 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed On Mar 3, 2006, at 3:33 PM, dblack@wobblini.net wrote: > However: > >>> [1,2,nil,3].join("-") > => "1-2--3" > > so you'd get those extra -'s in one but not in the other if one but > not the other had nils. I doubt he's displaying the result of the join when doing the comparison, it would still compare whether or not there are double dashes --Apple-Mail-17--97628665--