Table of Contents

Struct StringTokenizer

Namespace
Acuit.Pinpoint.Primitives
Assembly
Acuit.Pinpoint.Configuration.dll

Tokenizes a string into StringSegments.

public readonly struct StringTokenizer : IEnumerable<StringSegment>, IEnumerable
Implements
Inherited Members

Constructors

StringTokenizer(StringSegment, char[])

Initializes a new instance of StringTokenizer.

public StringTokenizer(StringSegment value, char[] separators)

Parameters

value StringSegment

The StringSegment to tokenize.

separators char[]

The characters to tokenize by.

StringTokenizer(string, char[])

Initializes a new instance of StringTokenizer.

public StringTokenizer(string value, char[] separators)

Parameters

value string

The string to tokenize.

separators char[]

The characters to tokenize by.

Methods

GetEnumerator()

public StringTokenizer.Enumerator GetEnumerator()

Returns

StringTokenizer.Enumerator