Splits this sequence into two at a given position.
Namespace: SequencesAssembly: Sequences (in Sequences.dll) Version: 1.0.1.0 (1.0.1)
Syntax Tuple<ISequence<T>, ISequence<T>> SplitAt(
int n
)
Tuple<ISequence<T>, ISequence<T>> SplitAt(
int n
)
Function SplitAt (
n As Integer
) As Tuple(Of ISequence(Of T), ISequence(Of T))
Function SplitAt (
n As Integer
) As Tuple(Of ISequence(Of T), ISequence(Of T))
Tuple<ISequence<T>^, ISequence<T>^>^ SplitAt(
int n
)
Tuple<ISequence<T>^, ISequence<T>^>^ SplitAt(
int n
)
abstract SplitAt :
n : int -> Tuple<ISequence<'T>, ISequence<'T>>
abstract SplitAt :
n : int -> Tuple<ISequence<'T>, ISequence<'T>>
Parameters
- n
- Type: System Int32
The position at which to split.
Return Value
Type:
Tuple ISequence T ,
ISequence T A pair of sequences consisting of the first
n elements of this sequence, and the other elements.
See Also