Skip to main content

wordcount

Return the number of words.

def wordcount(
value: string
) - > int

Return the number of words.

Parameters

NameTypeDescription
valuestringThe string content to be processed for word counting

Returns

TypeDescription
intThe total count of whitespace-separated words found within the input string