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
StringSegmentThe
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
Methods
GetEnumerator()
public StringTokenizer.Enumerator GetEnumerator()