From: ts Date: 2002-07-12T00:58:05+09:00 Subject: Re: spliter of for...each: looping >>>>> "T" == Tom Sawyer writes: >> arr.collect{|x| "junk#{x}morejunk" }.join(",") T> can you put conditionals in that? Why not ? You have a test in your block do...end, just do the same in #collect Guy Decoux