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

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

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

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

separator (TSource)

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

Return Value

[Missing <returns> documentation for "M:MoreLinq.MoreEnumerable.Split``1(System.Collections.Generic.IEnumerable{``0},``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)