Edit

Share via


Label.Contains(Text) Method

Version: Available or changed with runtime version 15.0.

Returns a value indicating whether a specified substring occurs within this string.

Syntax

Ok :=   Label.Contains(Value: Text)

Parameters

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

Value
 Type: Text
The string to seek.

Return Value

Ok
 Type: Boolean
true if the specified substring occurs in the specified string, otherwise false.

Label data type
Getting started with AL
Developing extensions