From: Jean-Julien Fleck Date: 2010-05-08T20:14:40+09:00 Subject: Re: Strings iteration Hello, 2010/5/8 Viorel : > I have some names like aaxxbbyy where xx is '01'..'10' and yy is also > '01'..'10'. I think there is a simple, rubyst way of iterating through > them, and I ask for your help in finding it. Thank you in advance! Perhaps this would do what you are looking for ? a = 'aa01bb01' 10000.times {puts a.succ!} Cheers, -- JJ Fleck PCSI1 Lycée Kléber