SUBSTR - Return a sub-string (Reports & Settings Report Generator function)

From Catalyst
Jump to: navigation, search

Syntax

$SUBSTR{string, start, len}

Description

Extract a sub-string from a string.

Parameters

string
A text parameter that can not be omitted.
Input Text.
start
A numeric parameter that can not be omitted.
The starting position for the extraction.
len
A numeric parameter that can not be omitted.
The number of characters to extract from the starting position.

Returns

A text value. Will return the extracted string.