OpenTypeMethods.StartsWith(Object, Object) Méthode

Définition

Vérifie si la chaîne cible commence par la sous-chaîne.

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

Paramètres

targetString
Object

Chaîne qui est comparée.

substring
Object

Sous-chaîne par laquelle targetString peut commencer.

Retours

true si la chaîne cible commence par la sous-chaîne donnée ; sinon, false.

S’applique à