Edit

Share via


Label.Split([Text,...]) Method

Version: Available or changed with runtime version 15.0.

Splits a string into a maximum number of substrings based on a collection of separators.

Syntax

Result :=   Label.Split([Separators: Text,...])

Parameters

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

[Optional] Separators
 Type: Text
A collection of separators that delimit the substrings in this string.

Return Value

Result
 Type: List of [Text]
The collection of substrings from the original string based on the collection of separators.

Label data type
Getting started with AL
Developing extensions