From: Flaab Mrlinux Date: 2006-11-18T03:11:29+09:00 Subject: Re: Newbie issue Matthew Moss wrote: > Now that you got a couple answers why your comparisons didn't work, > time to suggest a better method. > > class String > def variantes > count "2X" > end > end Wow THANKS i卒m amazed.... =D That's pretty better! I'm newbie at ruby didn't know it had such a simple way to do this. Thanks a lot -- Posted via http://www.ruby-forum.com/.