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

◆ Substring() [1/2]

static string System.Xml.Xsl.Runtime.XsltFunctions.Substring ( string value,
double startIndex )
inlinestatic

Definition at line 57 of file XsltFunctions.cs.

58 {
60 if (startIndex <= 0.0)
61 {
62 return value;
63 }
64 if (startIndex <= (double)value.Length)
65 {
66 return value.Substring((int)startIndex - 1);
67 }
68 return string.Empty;
69 }
static double Round(double value)

References System.Xml.Xsl.Runtime.XsltFunctions.Round(), System.startIndex, and System.value.