elixir-lang/elixir — pull request #1592 by vanstee (2013-08-13 03:13:52+00:00)
Title: Return an empty string from slice with valid index

To keep in line with ruby semantics of
[`String#slice`](http://ruby-doc.org/core-2.0/String.html#method-i-slice)
slice should return an empty string instead of nil when the starting
index is valid even if the length is 0.

Fixes #1591