MoreLinq
Split<(Of <(<'TSource>)>)> Method (source, separator, comparer)
NamespacesMoreLinqMoreEnumerableSplit<(Of <<'(TSource>)>>)(IEnumerable<(Of <<'(TSource>)>>), TSource, IEqualityComparer<(Of <<'(TSource>)>>))
Splits the source sequence by a separator and then transforms the splits into results.
Declaration Syntax
C#Visual BasicVisual C++
public static IEnumerable<IEnumerable<TSource>> Split<TSource>(
	this IEnumerable<TSource> source,
	TSource separator,
	IEqualityComparer<TSource> comparer
)
<ExtensionAttribute> _
Public Shared Function Split(Of TSource) ( _
	source As IEnumerable(Of TSource), _
	separator As TSource, _
	comparer As IEqualityComparer(Of TSource) _
) As IEnumerable(Of IEnumerable(Of TSource))
public:
[ExtensionAttribute]
generic<typename TSource>
static IEnumerable<IEnumerable<TSource>^>^ Split(
	IEnumerable<TSource>^ source, 
	TSource separator, 
	IEqualityComparer<TSource>^ comparer
)
Generic Template Parameters
TSource

[Missing <typeparam name="TSource"/> documentation for "M:MoreLinq.MoreEnumerable.Split``1(System.Collections.Generic.IEnumerable{``0},``0,System.Collections.Generic.IEqualityComparer{``0})"]

Parameters
source (IEnumerable<(Of <(<'TSource>)>)>)

[Missing <param name="source"/> documentation for "M:MoreLinq.MoreEnumerable.Split``1(System.Collections.Generic.IEnumerable{``0},``0,System.Collections.Generic.IEqualityComparer{``0})"]

separator (TSource)

[Missing <param name="separator"/> documentation for "M:MoreLinq.MoreEnumerable.Split``1(System.Collections.Generic.IEnumerable{``0},``0,System.Collections.Generic.IEqualityComparer{``0})"]

comparer (IEqualityComparer<(Of <(<'TSource>)>)>)

[Missing <param name="comparer"/> documentation for "M:MoreLinq.MoreEnumerable.Split``1(System.Collections.Generic.IEnumerable{``0},``0,System.Collections.Generic.IEqualityComparer{``0})"]

Return Value

[Missing <returns> documentation for "M:MoreLinq.MoreEnumerable.Split``1(System.Collections.Generic.IEnumerable{``0},``0,System.Collections.Generic.IEqualityComparer{``0})"]

Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerable<(Of <(<'TSource>)>)>. When you use instance method syntax to call this method, omit the first parameter.

Assembly: MoreLinq (Module: MoreLinq.dll) Version: 1.0.16006.0 (1.0.16006.1845)