Table of Contents

# $EPIC: rightw.txt,v 1.4 2007/03/02 02:32:04 jnelson Exp $

Synopsis:

$rightw(<count> <word list>)

Technical:

Practical:

Useful when you want to get the last few words in a word list.

Returns:

The last <count> words from <word list>.

Examples:

$rightw(2 hello there how are you?)         returns "are you?"
$rightw(-1 hello there bob)                 returns nothing
$rightw(7 hello there bob)                  returns "hello there bob"

History:

This function first appeared in “plus-2” (post-ircII, pre-EPIC)