From: Lloyd Linklater Date: 2007-06-12T23:50:36+09:00 Subject: Re: Getting the last N bytes of a string: What would be the chances of getting something added to the core? It seems to me that a new kind of slice would be in order. I know that there are lTrim() and rTrim() (left and right) in other languages. What about l_Slice and r_Slice? Then, it would be: p 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.r_slice(0..9) -- Posted via http://www.ruby-forum.com/.