From: draco draco Date: 2006-02-12T09:07:41+09:00 Subject: Getting last character from a string Hello I'm new to Ruby. I've a simple question. Is there a more readable way to get last character from string than this one? : x = "text" last_char = x[x.length-1, x.length-1] -- Posted via http://www.ruby-forum.com/.