SUBSTR

Usage

TIBCO iProcess Workspace (Browser)

TIBCO iProcess Workspace (Windows)

Return part of a string.

Syntax

SUBSTR (text, start, length)

where:

text is the text string to be operated upon.
start is a numeric value specifying the character position in text at which to start (counting from 1).
length is a numeric value specifying the number of characters to extract from text, starting from start.

Returns

The modified text string.

Examples

TIBCO iProcess Modeler:

SUBSTR("abcdefgh", 3, 3)

returns the value "cde"

SUBSTR("abcdefgh", 10, 1) 

returns the value ""

TIBCO Business Studio:

IPEStringUtil.SUBSTR("abcdefgh", 3, 3);
IPEStringUtil.SUBSTR("abcdefgh", 10, 1);