| THE META-HTML LANGUAGE REFERENCE MANUAL

| [TOC] |

## Manual Page Viewer

Name: SUBSTRING

Section: String Operators

Synopsis:

`<substring STRING START [END]>`

Description:

Extracts the substring of STRING whose first character starts at offset START, and whose last character ends at offset END. The indexing is zero-based, so that:

      <substring "Hello" 1 2> --> "e"

This function is useful when you know in advance which part of the string you would like to extract, and do not need the pattern matching facilities of `match`.

Edit Pointer
Function Index
Variable Index
Variable Editor

The META-HTML Reference Manual V1.4 Copyright © 1995, 1996, Brian J. Fox, 1996, 1997 Universal Access Inc.
Found a bug? Send mail to bug-manual@metahtml.com