caolan/highland — pull request #185 by LewisJEllis (2014-12-30 03:42:34+00:00)
Title: Splitby fix

Before, `splitBy` would drop a trailing empty string if the delimiter appeared at the end of the stream:
```javascript
'hello\nworld\n'.split('\n'); // [ 'hello', 'world', '' ]
_(['hello', '\n', 'world', '\n']).split().toArray(function (xs) { console.log(xs) }); // ['hello', 'world']
```

This fixes it so:
```javascript
_(['hello', '\n', 'world', '\n']).split().toArray(function (xs) { console.log(xs) }); // ['hello', 'world', '']
```