Table of Contents

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

Synopsis:

$midw(<start> <length> <word list>)

Technical:

Practical:

Useful when you want to get some words on the inside of a word list.

Returns:

Words <start> through <start>+<length> in <word list>, counting from zero.

Examples:

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

History:

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