substring

Locates a substring within a string, starting at the given position (counting from 1), up to the given number of characters.

Usage

Extract "length" character from "string", starting at index "from":

    string2 = substring(string, from, length);