Substr

Description
Extracts a substring within a larger string given an index and an offset.

Syntax
substr

Parameters

 * source
 * any text
 * index
 * the location within the string (inclusive) to start extracting
 * offset [optional]
 * how many characters to extract starting at the offset position

Examples
var sourcetext Hello World eval result substr("%sourcetext",3,7) Result: lo Worlvar sourcetext Hello World eval result substr("%sourcetext",3) Result: lo World