split method
Returns an iterator over subslices separated by elements that match pred. The matched element is not contained in the subslices. see splitInclusive also.
Implementation
RIterator<Slice<T>> split(bool Function(T) pred) {
return RIterator(_splitHelper(pred).iterator);
}