Edit

Share via


Label.Substring(Integer [, Integer]) Method

Version: Available or changed with runtime version 15.0.

Retrieves a substring from this instance.

Syntax

Substring :=   Label.Substring(StartIndex: Integer [, Count: Integer])

Parameters

Label
 Type: Label
An instance of the Label data type.

StartIndex
 Type: Integer
The one-based starting character position of a substring in this instance.

[Optional] Count
 Type: Integer
The number of characters in the substring.

Return Value

Substring
 Type: Text
The substring extracted from this instance.

Label data type
Getting started with AL
Developing extensions