Words(): Difference between revisions
Jump to navigation
Jump to search
Ihavenomouth (talk | contribs) New page: Category:Functions {{Function|words(<string>[, <delim>])}} Returns the number of words in <string>. <delim> may be used to specify a delimiter other than a space. == Example == ... |
(No difference)
|
Latest revision as of 19:55, 25 November 2010
Returns the number of words in <string>. <delim> may be used to specify a delimiter other than a space.
Example
> say words(This is a test)
You say, "4"
say words(Would you like coffee or perhaps tea?)
> You say, "7"
say words(This:is:a:colon:separated:list,:)
> You say, "6"