From: Sammy Larbi Date: 2007-06-16T00:00:16+09:00 Subject: Re: lose the first character Trans wrote, On 6/15/2007 9:47 AM: > On Jun 14, 8:35 pm, "Colin Summers" wrote: > >> r = r.reverse.chop.reverse # remove the first character >> >> That works, but I bet there's a nicer method. What do people use? I >> thought there would be a pohc method (chop, in reverse). >> > > Actually, I've been wanting a front version #chomp for a long time > too. If I has good names I'd add them to facets. > > T. > > I thought the pohc! was clever. But maybe left_chop and right_chop (or lchop rchop) would be better suited names (or rchop for reverse chop)?