From: Lars Haugseth Date: 2012-07-05T16:58:50+09:00 Subject: Re: Insert letters of the alphabet between the original letters of a string On 07/04/2012 08:27 PM, Hans Mackowiak wrote: > "STRING".each_char.zip(("A".."Z").cycle).join[0..-2] I prefer String#chars to String#each_char when not passing a block, and String#chop to remove the last character. "STRING".chars.zip((?A..?Z).cycle).join.chop -- Lars Haugseth