btmux-0.6-rc4/doc/
btmux-0.6-rc4/event/
btmux-0.6-rc4/game/
btmux-0.6-rc4/game/maps/
btmux-0.6-rc4/game/mechs/
btmux-0.6-rc4/game/text/help/
btmux-0.6-rc4/game/text/help/cat_faction/
btmux-0.6-rc4/game/text/help/cat_inform/
btmux-0.6-rc4/game/text/help/cat_misc/
btmux-0.6-rc4/game/text/help/cat_mux/
btmux-0.6-rc4/game/text/help/cat_mux/cat_commands/
btmux-0.6-rc4/game/text/help/cat_mux/cat_functions/
btmux-0.6-rc4/game/text/help/cat_templates/
btmux-0.6-rc4/game/text/wizhelp/
btmux-0.6-rc4/include/
btmux-0.6-rc4/misc/
btmux-0.6-rc4/python/
btmux-0.6-rc4/src/hcode/btech/
btmux-0.6-rc4/tree/
& wordpos()
 
  Syntax: wordpos(<string>, <charpos>[, <delim>)
 
  Returns the number of the word within <string> where the character 
  position <charpos> falls. Spaces between words are treated as 
  belonging to the word that follows them. If <charpos> is not within 
  the string, the value #-1 is returned. Both words and characters are 
  numbered starting at 1.
 
  <delim> may be used to specify a delimiter other than a space.
 
  Example:
 
  > say wordpos(This is a test, 4)
  You say "1"
  > say wordpos(This is a test, 5)
  You say "2"
  > say wordpos(This is a test, 6)
  You say "2"
  > say wordpos(This is a test, 20)
  You say "#-1"
 
  See Also: extract()