From: Stuart Clarke Date: 2008-11-05T22:35:30+09:00 Subject: String comparisions and counting I have an array full of strings which represent a date ID. The array contains indivduals strings like the following: TueAug052008 I want to iterate through this array (@eventbydate[]) and check each of the values of the array. I then want a statement which says if any of the date ID's in the array occurs more than 5 times print out some data. Pseudo code if dataID occurs more than 5times print results end I hope this makes sense. I would appreciate any help Regards -- Posted via http://www.ruby-forum.com/.