A curried `String.prototype.split` with support for splitting by String, RegExp, or Function.
npm install string-splitString.prototype.split with support for splitting by String, RegExp, or Function.  
``shell`
npm install string-split --save
###### npm stats
  
###### require
`js`
var split = require('string-split');
###### full application
`js`
split(".", "example.com");
//=> ["example", "com"]
###### partial application
`js`
var undot = split('.')
undot('example.com');
//=> ["example", "com"]
###### iteratee
`js
var transform = split("::");
var foodtypes = ["Entree::Seafood", "Entree::Chicken"];
foodtypes.map(transform);
//=> [ ["Entree", "Seafood"], ["Entree", "Chicken"] ]
`
###### predicate
`js
function isNumber (chr, _) {
return !!Number(chr)
}
split(isNumber, 'Hello1World2')
//=> ['Hello', 'World']
`
###### predicate using index
`js
function odd (chr, idx) {
return idx % 2 !== 0
}
split(odd, 'AaBbCcDd')
//=> ['A', 'B', 'C', 'D']
`
- Supports splitting by String, RegExp, or Function.
- Curried.
###### arguments
- splitBy: (String|RegExp|Function) String, RegExp, or Function to split by.string: (String)
- String to split.
###### returns
- (Array) List of split string parts.
###### splitBy function signature
> Return true to split by current chr or idx.
- chr: (String) current character.idx: (Number)` current character index.
-
