TextConst.Split([Text,...]) 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: Text,...])

Parameters

TextConst
Type: TextConst
An instance of the TextConst 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.

See Also

TextConst data type
Getting started with AL
Developing extensions