word
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
| — | word [2007/03/02 02:32] (current) – created - external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | # $EPIC: word.txt,v 1.4 2007/03/02 02:32:04 jnelson Exp $ | ||
| + | ======Synopsis: | ||
| + | $__word__(< | ||
| + | |||
| + | ======Technical: | ||
| + | * If the < | ||
| + | * If the < | ||
| + | * The < | ||
| + | * If < | ||
| + | * The return value is the < | ||
| + | * Remember that < | ||
| + | * In either case, the returned value is NOT double quoted if it has spaces. | ||
| + | * If < | ||
| + | |||
| + | ======Practical: | ||
| + | Use this function when you need to extract a specific word from a list. | ||
| + | |||
| + | ======Returns: | ||
| + | The < | ||
| + | |||
| + | ======Compatability: | ||
| + | < | ||
| + | |||
| + | ======Examples: | ||
| + | < | ||
| + | $word(2 foo bar blah) returns blah | ||
| + | $word(4 foo bar blah) returns the empty string | ||
| + | $word(-1 foo bar blah) | ||
| + | xdebug -dword | ||
| + | $word(1 one "two three" four five) | ||
| + | xdebug dword | ||
| + | $qword(1 one "two three" four five) returns | ||
| + | </ | ||
| + | |||
| + | ======History: | ||
| + | This function already existed in ircII. | ||
| + | |||
word.txt · Last modified: 2007/03/02 02:32 by 127.0.0.1
