Reference > Expressions > Built-in Functions > String Functions > Substring0

Substring0

Returns a string containing a substring of consecutive characters from another string.

Syntax

Substring0(text,startPosition,length)

Enabled for

Search/Dashboard No
Business Rules Yes
Quick Actions Yes
Workflow Objects Yes
Reports No

Parameters

text

The text from which to extract the substring.

startPosition

The position of the first character to include in the output. The first character starts with position zero.

length

(Optional) The length of the substring.

Return Value

Text value.

Example

$(Substring0(Symptom, 21, 7))

If the Symptom field in the current business object contains the following:

Printer seems to be working fine for others. His setup for the printer is fine.

It returns the substring starting with the 20th character and continues for 7 characters. The result of this function in this example is "orking ".

See also Substring().