Edit

Share via


TextConst.Contains(Text) Method

Version: Available or changed with runtime version 15.1.

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

Syntax

Ok :=   TextConst.Contains(Value: Text)

Parameters

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

See Also

TextConst data type
Getting started with AL
Developing extensions