共用方式為


CaseInsensitiveComparison.EndsWith(String, String) 方法

定義

判斷字串 'value' 結尾是否為字串 'possibleEnd'。

public:
 static bool EndsWith(System::String ^ value, System::String ^ possibleEnd);
public static bool EndsWith (string value, string possibleEnd);
static member EndsWith : string * string -> bool
Public Shared Function EndsWith (value As String, possibleEnd As String) As Boolean

參數

value
String
possibleEnd
String

傳回

適用於