From: Aleksey Zapparov Date: 2012-05-01T00:24:33+09:00 Subject: Re: delete character from array Hi, Use Enumerable#find_all (1) method: ["aa", "bb", "c", "d", "ee", "f"].find_all{ |c| 1 < c.length } => ["aa", "bb", "ee"] [1]: http://ruby-doc.org/core-1.9.3/Enumerable.html#method-i-find_all On Mon, Apr 30, 2012 at 5:19 PM, Ok Ok wrote: > Here is my question... > > Say i have an array, a= ["aa"' "bb", "cc", "d", "e"] > > How can i delete any instances of a single character in the array, > without specifically specifying what they are, with something like > a.delete("d","e")? > > Thank You > > -- > Posted via http://www.ruby-forum.com/. > -- Sincerely yours, Aleksey V. Zapparov A.K.A. ixti FSF Member #7118 Mobile Phone: +34 677 990 688 Homepage: http://www.ixti.net JID: zapparov@jabber.ru *Origin: Happy Hacking!