after()

btmux-0.6-rc4/game/text/help/cat_mux/cat_functions/after() · 552 B

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

Download the archive   « Back to the archive contents

& after()
 
  Syntax: after(<string1>, <string2>)
 
  This function returns the portion of <string1> that occurs after <
  string2>. If <string2> does not occur in <string1>, a null string is 
  returned. 
  
  If you want to return the portion of the string after the first 
  space, use the rest() function instead.
 
  Example:
 
  > say after(This is a test,a)
  You say " test"
  > say after(This is a test,is)
  You say " is a test"
  > say after(This is a test, nope)
  You say ""
 
  See also: before(), first(), rest().
  

Site Stats

Snippets: 1791
Codebases: 571