split-skip
Version:
Splits a String into an Array of substrings with the option to skip some cases where the separator is found, based on some truthy condition.
7 lines (6 loc) • 81 B
JavaScript
Splits a String into an Array of substrings with the option to skip some cases where the separator is found, based on some truthy condition.