From: first name Date: 2012-04-06T09:16:26+09:00 Subject: Re: unexpected behavior of indexing / .length Also when I index the rest of the message I need to do it like this: puts "message is #{decrypted[78,decrypted.length]}" notice that I am still starting from 78! This makes no sense to me, even though it works and returns my validated message. It is doing exactly what I want it to do right now, but it isn't coded in a way that I think should work, and when I code it in the way that I think should work it is not working. -- Posted via http://www.ruby-forum.com/.