XsltFunctions.StartsWith(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Implements starts-with
XPath function according to the W3C specification.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
static bool StartsWith(System::String ^ s1, System::String ^ s2);
public static bool StartsWith (string s1, string s2);
static member StartsWith : string * string -> bool
Public Shared Function StartsWith (s1 As String, s2 As String) As Boolean
Parameters
- s1
- String
A string, the beginning of which is compared to s2
.
- s2
- String
The string to compare to the beginning of s1
.
Returns
true
if the first argument string starts with the second argument string; otherwise, false
.
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.