Table of Contents

NonAllocStringSplitter Struct

public readonly ref struct NonAllocStringSplitter

Non-allocation string splitter.

Inherited Members
Extension Methods

Remarks

NOTE: max 10 items are allowed to be splitted otherwise throws IndexOutOfRangeException.

  • able to retrieve error position in input text by splitting exception message with '@'.

Constructors

NonAllocStringSplitter(ReadOnlySpan<char>, char)
NonAllocStringSplitter(ReadOnlySpan<char>, ReadOnlySpan<char>, bool)

Fields

Count
Value0
Value1
Value2
Value3
Value4
Value5
Value6
Value7
Value8
Value9

Properties

this[int]

Use .Value0~9 instead to achieve little bit performance gain.