Robert Klemme wrote: > > >> hash={1=>2,3=>4} > => {1=>2, 3=>4} > >> keys,vals = hash.inject([[],[]]) {|(ks,vs),(k,v)| [ks << k, vs << v]} > => [[1, 3], [2, 4]] > >> keys > => [1, 3] > >> vals > => [2, 4] Thank you, maybe I will benchmark this at home against the transpose solution. Mage