From: Mmcolli00 Mom Date: 2009-06-17T06:13:30+09:00 Subject: Re: separate a string of values into an array - noob Siep > ar = Dir["C:/DiscrepancyFiles/*EXE"].map do |dis_file| > File.basename(dis_file, ".exe") > end > puts ar[0] > > hth, > > Siep What if it weren't coming from a directory could you still you .map? -Misty -- Posted via http://www.ruby-forum.com/.