splitOn package:streamly-core

Deprecated: Please use splitSepBy_ instead. Note the difference in behavior on splitting empty stream.
Deprecated: Please use splitEndBy_ instead.
Split a stream of arrays on a given separator byte, dropping the separator and coalescing all the arrays between two separators into a single array.
Deprecated: Please use splitEndBy_ instead.
Deprecated: Please use splitSepBySeq_ instead.
splitOnSuffixSeq withSep pat fld input splits the input using pat as a suffixed separator, the resulting split segments are fed to the fold fld. If withSep is True then the separator sequence is also suffixed with the split segments. Internal