TextConst.EndsWith(Text) Method

Version: Available or changed with runtime version 15.1.

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

Syntax

Ok :=   TextConst.EndsWith(Value: Text)

Parameters

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

See Also

TextConst data type
Getting started with AL
Developing extensions