count_words
Summary
Returns the number of words that make up the input string.
Usage
input|count_words()
Returns
An integer revealing the number of words that make up a string.
Description
This operator counts and returns the number of words that are found within the input string.
Examples
Example 1
{'Where do you want to publish today?'|count_words()}The following output will be returned: "7".
Contributors
- Balazs Halasy Updated
Comments
Add a comment