common
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
| — | common [2006/07/25 21:22] (current) – created - external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | # $EPIC: common.txt, | ||
| + | ======Synopsis: | ||
| + | $__common__(< | ||
| + | |||
| + | ======Technical: | ||
| + | * There must be a literal slash character ('/' | ||
| + | * It is not required to have spaces on either side of the slash, but it also does not hurt to have them. | ||
| + | * The return value is a word list comprised of the set-intersection of <word list 1> and <word list 2>, that is to say: | ||
| + | * The return value is a word list of all words that are in BOTH of the word lists. | ||
| + | * All extra whitespace around words will be lost. | ||
| + | * Double quoted words are honored, but the double quotes will be lost in the return value. | ||
| + | |||
| + | ======Practical: | ||
| + | Use this function if you need to find the intersection of two different | ||
| + | word lists. | ||
| + | people who are on two different channels. | ||
| + | those two channels, you can use $common() to find all the people on both | ||
| + | channels. | ||
| + | |||
| + | ======Returns: | ||
| + | All words that are in both <word list 1> and <word list 2>. | ||
| + | |||
| + | ======Examples: | ||
| + | < | ||
| + | $common(one two three / two three four) | ||
| + | $common(one two / three four) | ||
| + | </ | ||
common.txt · Last modified: 2006/07/25 21:22 by 127.0.0.1
