From: 7stud -- Date: 2009-09-18T15:05:11+09:00 Subject: Re: simple question: compare words Ahmet Kilic wrote: > for xa in a > $ye= xa > end That is the equivalent to: $ye = "ali" $ye = "bel" $ye = "del" $ye = "en" which gives you: puts $ye --output:-- "en" -- Posted via http://www.ruby-forum.com/.