Text.Contains(Text) Method

Version: Available or changed with runtime version 1.0.

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

Syntax

Ok :=   Text.Contains(Value: Text)

Note

This method can be invoked without specifying the data type name.

Parameters

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

Text Data Type
Get Started with AL
Developing Extensions