Modifier

Partager via


Text.StartsWith(Text) Method

Version: Available or changed with runtime version 1.0.

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

Syntax

Ok :=   Text.StartsWith(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 compare.

Return Value

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

Text Data Type
Get Started with AL
Developing Extensions