Edit

Share via


Label.EndsWith(Text) Method

Version: Available or changed with runtime version 15.0.

Determines whether the end of this string instance matches the specified string.

Syntax

Ok :=   Label.EndsWith(Value: Text)

Parameters

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

Value
 Type: Text
The string to compare to the substring at the end of this instance.

Return Value

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

Label data type
Getting started with AL
Developing extensions