words()

btmux-0.6-rc4/game/text/help/cat_mux/cat_functions/words() · 363 B

From the archive btonline-btechmux-0.6-rc4.tbz2

Download the archive   « Back to the archive contents

& words()
 
  Syntax: words(<string>[, <delim>])
 
  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"

Site Stats

Snippets: 1791
Codebases: 571