Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ SubstringAfter()

static string System.Xml.Xsl.Runtime.XsltFunctions.SubstringAfter ( string s1,
string s2 )
inlinestatic

Definition at line 43 of file XsltFunctions.cs.

44 {
45 if (s2.Length == 0)
46 {
47 return s1;
48 }
49 int num = s_compareInfo.IndexOf(s1, s2, CompareOptions.Ordinal);
50 if (num >= 0)
51 {
52 return s1.Substring(num + s2.Length);
53 }
54 return string.Empty;
55 }
static readonly CompareInfo s_compareInfo

References System.Xml.Dictionary, and System.Xml.Xsl.Runtime.XsltFunctions.s_compareInfo.