TextConst.Split(List of [Char]) Method

Version: Available or changed with runtime version 15.1.

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

Syntax

Result :=   TextConst.Split(Separators: List of [Char])

Parameters

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

Separators
 Type: List of [Char]
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.

See Also

TextConst data type
Getting started with AL
Developing extensions