substring()

Examples


The substring() function returns a portion of a specified string or text field.

Syntax

substring(source, begin, length)

Parameters

source A string or text variable, field or value containing the substring you want.

begin – An integer indicating the starting position within the source.

length – An integer indicating the number of characters you want to return from the source string. You can return a maximum of 255 characters at a time.

Return value

String


Documentation Feedback