From: Hassan Schroeder Date: 2010-07-14T07:17:14+09:00 Subject: Re: What does this do? On Tue, Jul 13, 2010 at 3:09 PM, Abder-Rahman Ali wrote: > For example, this from the documentation: > a = "hello there" > a[-3,2] #=> "er" > > -3 ---> Start counting from 0 to 3 from the end (Right -> Left) > In this case I reached the letter "h" of there > > 2 ---> What should I do here? Open up irb and experiment until it's clear :-) -- Hassan Schroeder ------------------------ hassan.schroeder@gmail.com twitter: @hassan