elixir-lang/elixir — pull request #1645 by vanstee (2013-08-23 16:38:47+00:00)
Title: Keep empty strings when splitting

To stay consistent with both `String.split/2` and `:binary.split` we
need to keep around empty strings that are accumulated while splitting.
In the future we could support the `:trim` option to consistently remove
these in call calls to `String.split`.

Fixes #1636