extract()

btmux-0.6-rc4/game/text/help/cat_mux/cat_functions/extract() · 494 B

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

Download the archive   « Back to the archive contents

& extract()
 
  Syntax: extract(<string>, <first>, <length>[, <delim>])
 
  Extract returns a string of length words, starting with the first 
  word. Unlike letters, the first word in a string is number 1, 
  instead of 0.
 
  Example:
 
  > say extract(This is a really neat example, 4, 2)
  You say "really neat"
  > say extract(Another@funky@test@for@extract, 3, 3)
  You say "test@for@extract"
 
	See Also: index(), insert(), ldelete(), replace(), first(), last(), 
	rest()

Site Stats

Snippets: 1791
Codebases: 571