CaseInsensitiveComparison.StartsWith(String, String) 方法

定义

确定字符串“value”是否以字符串“possibleStart”开头。

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

参数

value
String
possibleStart
String

返回

适用于