elixir-lang/elixir — pull request #1689 by bruce (2013-09-06 22:49:35+00:00)
Title: Improve String.split and Regex.split docs for empty patterns.

Include examples showing that splitting with an empty pattern results in a final (trim-able) empty string, as discussed in #1688.

This behavior is different than developers coming from Ruby, Perl, and other languages may initially expect.