From: Sam Phoneix Date: 2008-01-04T09:27:05+09:00 Subject: Finding if an array contains a data type Say I wanted to see if an array contained a number or not. Would I use the match method? E.g. x=["a","b",2, "c"] puts("This array contains numbers") if x.match(/\d/) I'm a real beginner at ruby, so simple explanations for simple folk please. I appreciate your help. -- Posted via http://www.ruby-forum.com/.