> I think this will do it if your array size <= 36 > > Harry That code does work well for array.size <= 36, however I need a dynamic amount without an arbitrary limitation. The data set causes an illegal radix ArgumentError since it is indeed > 36. Using eval any array size can be handled. I may just use Java if a robust solution is not possible in Ruby without resorting to eval. -- Posted via http://www.ruby-forum.com/.