編輯

共用方式為


Text.EndsWith(Text) Method

Version: Available or changed with runtime version 1.0.

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

Syntax

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

Text Data Type
Get Started with AL
Developing Extensions