TextConst.StartsWith(Text) Method

Version: Available or changed with runtime version 15.1.

Determines whether the beginning of this instance matches a specified string.

Syntax

Ok :=   TextConst.StartsWith(Value: Text)

Parameters

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

Value
 Type: Text
The string to compare.

Return Value

Ok
 Type: Boolean
true if the beginning of this instance matches the specified string, otherwise false.

See Also

TextConst data type
Getting started with AL
Developing extensions