OpenTypeMethods.StartsWith(Object, Object) 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.
Checks whether the target string starts with the substring.
public:
static System::Object ^ StartsWith(System::Object ^ targetString, System::Object ^ substring);
public static object StartsWith (object targetString, object substring);
static member StartsWith : obj * obj -> obj
Public Shared Function StartsWith (targetString As Object, substring As Object) As Object
Parameters
- targetString
- Object
The string being compared.
- substring
- Object
The substring that the targetString
might start with.
Returns
true
if the target string starts with the given substring; otherwise, false
.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.