elixir-lang/elixir — pull request #1729 by Mendor (2013-09-26 09:21:38+00:00)
Title: Negative String.slice length

Hi. Sometimes occurs a need to get a part of string without N last characters. In Ruby, method `String.slice` allows negative length value for this case. This PR contains Elixir implementation of it.
Thanks.