XsltFunctions.SubstringAfter(String, String) Méthode

Définition

Implémente la substring-after fonction XPath en fonction de la spécification W3C.

Cette API prend en charge l'infrastructure du produit et n'est pas destinée à être utilisée directement à partir de votre code.

public:
 static System::String ^ SubstringAfter(System::String ^ s1, System::String ^ s2);
public static string SubstringAfter(string s1, string s2);
static member SubstringAfter : string * string -> string
Public Shared Function SubstringAfter (s1 As String, s2 As String) As String

Paramètres

s1
String

Chaîne dans laquelle localiser s2.

s2
String

Chaîne à localiser dans s1.

Retours

Caractères dans s1 qui se produisent après s2 ou chaîne vide si s1 ne contient pas s2.

Remarques

Recherche une sous-chaîne (s2) dans une chaîne (s1) et retourne les caractères dans s1 qui se produisent après s2.

S’applique à