From: "Jesús Gabriel y Galán" Date: 2012-05-01T02:08:14+09:00 Subject: Re: delete character from array On Mon, Apr 30, 2012 at 5:33 PM, Ok Ok wrote: > Yes that was exactly it. I have one more question maybe you can help me > with. Is there a way I could delete every 3rd letter in a string? Another way: 1.9.2p290 :023 > s = "abcdefghi" => "abcdefghi" 1.9.2p290 :024 > s.chars.each_slice(3).map {|(a,b,c)| "#{a}#{b}"}.join => "abdegh" Jesus.