From: Abder-rahman Ali Date: 2010-06-19T02:46:05+09:00 Subject: String comparison. Why does Ruby consider this true? When I try for example to compare the following strings in Ruby, I get "true". puts 'Xeo' < 'ball' When I make 'Xeo' start with a lowercase letter, i get 'false' puts 'xeo' < 'ball' The second statement is clear, but why when I capitalize 'Xeo' I get true? Thanks. -- Posted via http://www.ruby-forum.com/.