home *** CD-ROM | disk | FTP | other *** search
- range value first last [chars]
- Return a range of fields or characters from value. If
- the chars keyword isn't specified, then value must be a
- list and range will return a new list consisting of
- elements first through last, inclusive. The special
- keyword end may be specified for last; in this case all
- the elements of value starting at first are returned.
- If the chars keyword, or any abbreviation of it, is
- specified, then range treats value as a character
- string and returns characters first through last of it,
- inclusive. Once again, the end keyword may be used for
- last. In both cases if a last value is specified
- greater than the size of value it is equivalent to
- specifying end; if last is less than first then an
- empty string is returned. Note: ``range value first
- first'' does not always produce the same results as
- ``index value first'' (although it often does for
- simple fields that aren't enclosed in braces); it
- does, however, produce exactly the same results as
- ``list [index value first]''
-
-