Sdílet prostřednictvím


XsltFunctions.SubstringAfter(String, String) Metoda

Definice

Implementuje substring-after funkci XPath podle specifikace W3C.

Toto rozhraní API podporuje produktovou infrastrukturu a není určené k použití přímo z uživatelského kódu.

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

Parametry

s1
String

Řetězec, ve kterém se má najít S2

s2
String

Řetězec, ve kterém se má hledat s1 .

Návraty

String

Znaky v S1, ke kterým dojde po S2, nebo prázdný řetězec, pokud S1 neobsahuje S2.

Poznámky

Vyhledá v řetězci (S1) podřetězec (S2) a vrátí znaky ve S1, ke kterým dojde po S2.

Platí pro