Method CountTokens
CountTokens(ReadOnlySpan<char>)
Counts the tokens in text.
int CountTokens(ReadOnlySpan<char> text)
Parameters
textReadOnlySpan<char>The text to count.
Returns
- int
The token count.
Counts the tokens in text.
int CountTokens(ReadOnlySpan<char> text)
text ReadOnlySpan<char>The text to count.
The token count.