StringUtils.WordCount method

Version 1.1.28
.NET Framework 4.8
Namespace Skybrud.Essentials.Strings
Assembly Skybrud.Essentials.dll

WordCount(string)

Static

Counts number of words in the specified str.

public static int WordCount(string str)

Parameters

str String

The string to parse.

Returns

int

An integer with the number of words found.