restw
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | restw [2007/03/02 02:32] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | # $EPIC: restw.txt,v 1.4 2007/03/02 02:32:04 jnelson Exp $ | ||
+ | ======Synopsis: | ||
+ | $__restw__(< | ||
+ | |||
+ | ======Technical: | ||
+ | * If the < | ||
+ | * This function returns the complement of $[[leftw]](); | ||
+ | * This function returns <word list> with the first < | ||
+ | * Remember that <word list> is a list of [[what is a word|words]]. | ||
+ | |||
+ | ======Practical: | ||
+ | This function is mostly useful when you know you want to always remove | ||
+ | the first few words from an input string, regardless of what they are, | ||
+ | and when there are a varying number of total arguments. | ||
+ | |||
+ | ======Returns: | ||
+ | input list with given number of leading words removed | ||
+ | |||
+ | ======Examples: | ||
+ | < | ||
+ | $restw(2 hello there how are you?) | ||
+ | $restw(-1 hello there how are you?) returns nothing | ||
+ | $restw(6 hello there how are you?) | ||
+ | </ | ||
+ | |||
+ | ======History: | ||
+ | This function first appeared in " | ||
restw.txt · Last modified: 2007/03/02 02:32 by 127.0.0.1