wordcount
Count words in a string using whitespace or a custom delimiter. Supports RegEx patterns for precise splitting.
Instructions
Count the words in a String by a delimiter (String or RegEx pattern). The delimiter is whitespace by default. If using RegEx, include the leading and trailing '/' in your pattern and optionally append flags.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||