From: Simon Krahnke Date: 2008-05-26T16:34:37+09:00 Subject: Re: A simple newbie question (arrays and strings) * koichirose (22:48) schrieb: > It works! I see that .uniq is case-sensitive (something else != > something Else). Can I avoid that? Yes, just convert it to lower case before the uniq: Dir.entries('.')[2..-1].map{|f| f.split('-')[0].lower}.uniq mfg, simon .... l