From: "Nation, Carey" Date: 2011-07-26T03:09:15+09:00 Subject: Re: Very Very simple problem +1 for s[1..-1] -----Original Message----- From: Josh Cheek [mailto:josh.cheek@gmail.com] Sent: Monday, July 25, 2011 10:27 AM To: ruby-talk ML Subject: Re: Very Very simple problem On Mon, Jul 25, 2011 at 4:37 AM, Mayank Kohaley wrote: > Have a look at String's slice method.. > http://ruby-doc.org/core/classes/String.html#M001213 > > Btw, if you know it's a simple problem then you should be able to > solve it > ;) > -- > Mayank Kohaley > > > Sometimes you know it is a simple problem for people familiar with the language (would take less than a minute to solve) but it is not a simple problem for you (would take more than an hour to solve). In these situations, I think it is fine to ask, it's not like you're really putting anyone out.