/split

Primary LanguageJavaScriptOtherNOASSERTION

@unction/split

Tests Stability Dependencies

string => (string | RegExp) => Array

Splits up a string by a delimiter.

split(" ")("a b") // ["a", "b"]
split(/-+/)("a---b") // ["a", "b"]