Eric Mahurin <eric_mahurin / yahoo.com> wrote:
> I agree. We should have shift for String.
Disagree. What wold the semantics of String#shift be?
What would it shift? Bytes? Characters? Words? Lines?
There is no clear notion of an "Element" in a String.
You can always use split or implement shift
yourself if you need it for a particular application.
-Levin