From: Hassan Schroeder Date: 2012-05-01T01:42:02+09:00 Subject: Re: delete character from array On Mon, Apr 30, 2012 at 8:33 AM, Ok Ok wrote: > Is there a way I could delete every 3rd letter in a string? > "abcdefghijkl".split(/(..)./).reject{|x| x.empty? }.join => "abdeghjk" P.S. I highly recommend you take the time to *read the docs*, especially for core elements like String, Array, and so on... -- Hassan Schroeder ------------------------ hassan.schroeder@gmail.com http://about.me/hassanschroeder twitter: @hassan