Description
The countwords function accepts up to two of the parameters described below (the last parameter is optional), and returns a value of type integer type, which is equal to the number of words in the first parameter. The term word is used to mean a group of contiguous characters, seperated by another group of characters called deliminators.
Parameters
countwords('example') returns 1
countwords('this is an example') returns 4
Portability
Operating Systems: All
Standard Pascal: No