JAVoAM wrote:
> I'm actually hoping this is an embarrassing question but how do you get
> the tail end of a string?  All I've figured out is this:
> 
> index = 4
> string[index, string.size - index]
> 
>     ...but surely there's a better way.  This happens to me a lot and I
> really appreciate Python's curt syntax in this case:  string[index:]
>     What's the Ruby way?
>     Thank you!

"123456".last 4

I don't even know if this was mentioned in the thread before or not, but
hey, there it is.
-- 
Posted via http://www.ruby-forum.com/.