mid
                no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
| — | mid [2006/08/01 20:54] (current) – created - external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | # $EPIC: mid.txt,v 1.2 2006/08/01 05:15:58 sthalik Exp $ | ||
| + | ======Synopsis: | ||
| + | $__mid__(< | ||
| + | |||
| + | ======Technical: | ||
| + | * If < | ||
| + | * If < | ||
| + | * If < | ||
| + | * If < | ||
| + | * If < | ||
| + | * If < | ||
| + | * Otherwise, this function skips over the first < | ||
| + | |||
| + | ======Practical: | ||
| + | This function extracts a substring from a string. | ||
| + | strip out the first few characters of a function, or to get a field from | ||
| + | a fixed-format string. | ||
| + | for < | ||
| + | to get the " | ||
| + | |||
| + | ======Returns: | ||
| + | A copy of a portion of < | ||
| + | |||
| + | ======Examples: | ||
| + | < | ||
| + | $mid(4 4 hello there) | ||
| + | $mid(7 100 this is a long string) | ||
| + | $mid(7 -1 this is a long string) | ||
| + | </ | ||
| + | |||
| + | ======History: | ||
| + | This function first appeared in ircII. | ||
mid.txt · Last modified: 2006/08/01 20:54 by 127.0.0.1
                
                