[prev in list] [next in list] [prev in thread] [next in thread]
List: ruby-core
Subject: [ruby-core:35385] Re: [Ruby 1.9 - Feature #4447] [Open] add String#byteslice() method
From: Gary Wright <gwtmp01 () mac ! com>
Date: 2011-02-26 6:16:54
Message-ID: 76D8C431-0077-450C-97EB-E966230E2AC5 () mac ! com
[Download RAW message or body]
On Feb 25, 2011, at 4:27 PM, Rick DeNatale wrote:
> No, the issue is that String#force_encoding mutates the string, but
> String#slice does not.
My bad. I had in my head that slice was a mutating method.
Gary Wright
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic