Hans Mackowiak wrote in post #1079264:
> maybe like this?
> words.uniq.group_by{|w| w.downcase.each_char.sort}.values

Thank you Hans for such a quick reply. Two things, where should this 
line go and can you explain this a bit that how does this solve the 
problem

-- 
Posted via http://www.ruby-forum.com/.