ReadOnlySpanExtensions Class
Definition
Section titled “Definition”Extensions for the ReadOnlySpan<T> type.
public static class ReadOnlySpanExtensionsInheritance object
Methods
Section titled “Methods”Next(ReadOnlySpan<char>, char, out int)
Section titled “Next(ReadOnlySpan<char>, char, out int)”Gets the next instnace of the specified character in a char span.
public static bool Next(this ReadOnlySpan<char> span, char value, out int index)Parameters
Section titled “Parameters”span ReadOnlySpan<char>
The span.
value char
The character to find.
index int
The index of the character.
Returns
Section titled “Returns”bool
True when the character is found.