Skip to content

string-plumbing/split

Repository files navigation

Split a string into substrings given a pattern with JavaScript. See docs.

⚠️ Depending on your environment, the code may require regeneratorRuntime to be defined, for instance by importing regenerator-runtime/runtime.

import {split} from '@string-plumbing/split';

split('A, B, C', ', '); // ['A', 'B', 'C']

License Version Tests Dependencies GitHub issues Downloads

Code issues Code maintainability Code coverage (cov) Code technical debt Documentation Package size