Share via


XsltFunctions.SubstringAfter(String, String) メソッド

定義

W3C 仕様に従って、substring-after XPath 関数を実装します。

この API は製品インフラストラクチャをサポートします。コードから直接使用するものではありません。

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

パラメーター

s1
String

s2 を検索する文字列。

s2
String

s1 内で検索する文字列。

戻り値

s1 内で、s2 の後に出現する文字。s1 に s2 が含まれていない場合は、空の文字列。

注釈

文字列 (s1) 内で部分文字列 (s2) を検索し、s2 の後に出現する s1 の文字を返します。

適用対象