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

◆ Remove() [1/2]

string System.String.Remove ( int startIndex)
inline

Definition at line 2315 of file String.cs.

2316 {
2317 if ((uint)startIndex > Length)
2318 {
2319 throw new ArgumentOutOfRangeException("startIndex", (startIndex < 0) ? SR.ArgumentOutOfRange_StartIndex : SR.ArgumentOutOfRange_StartIndexLargerThanLength);
2320 }
2321 return Substring(0, startIndex);
2322 }
string Substring(int startIndex)
Definition String.cs:2992

References System.SR.ArgumentOutOfRange_StartIndex, System.SR.ArgumentOutOfRange_StartIndexLargerThanLength, System.String.Length, System.startIndex, and System.String.Substring().