Ryan Mckenzie wrote in post #1012878: > Unfortunately no I could not get it working. I will update the file so > it closes as you mentioned. How would I go about intergrating the count > with the phrase[start...stop] to insert those into the hash. I think you got that information above (see http://www.ruby-forum.com/topic/2176493?reply_to=1012878#1011844). Kind regards robert -- Posted via http://www.ruby-forum.com/.