Click or drag to resize
AkCommonEndsWith Method
判断源字符串是否以特征字符串结尾。

忽略大小写。

source或 pattern为null时返回false。

Namespace: Appkit.Common
Assembly: Appkit (in Appkit.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
C#
public static bool EndsWith(
	string source,
	string pattern
)

Parameters

source
Type: SystemString
源字符串。
pattern
Type: SystemString
特征字符串。

Return Value

Type: Boolean
true或false。
See Also