From: Harry Kakueki Date: 2012-07-05T22:40:12+09:00 Subject: Re: Insert letters of the alphabet between the original letters of a string On Thu, Jul 5, 2012 at 6:24 PM, Hans Mackowiak wrote: > Information: cycle and zip does not work on ruby1.8 :D > zip is available for 1.8 Anyway, I think this will work on 1.8 and 1.9 s = "STRING" a = ("a".."z").to_a t = s.size-1 t.downto(1).each{|x| s.insert(x,a[x%26-1])} p s Harry