split-with-surplusString.split with a limit where the surplus is placed as a last element.splitWithSurplus('a:b:c:d:e:f', ':', 3); // ['a', 'b', 'c', 'd:e:f']1 dependent1 version@everything-registry/sub-chunk-28071.0.06 years ago