first()
btmux-0.6-rc4/game/text/help/cat_mux/cat_functions/first() · 547 B
From the archive btonline-btechmux-0.6-rc4.tbz2
Download the archive « Back to the archive contents
& first() Syntax: first(<string>[, <delim>]) Returns the first word of a string, that is, everything to the left of the first space in the string, or the entire string if there are no spaces in the string. <delim> may be used to specify a word delimiter other than a space. Example: > say first(This is a test) You say "This" > say first(Would you like coffee, or perhaps tea) You say "Would" > say first(List&with&nonstandard&delimiters,&) You say "List" See Also: rest(), last(), extract()