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

◆ GetNextTextElementLength() [3/3]

static int System.Globalization.StringInfo.GetNextTextElementLength ( string str,
int index )
inlinestatic

Definition at line 118 of file StringInfo.cs.

119 {
120 if (str == null)
121 {
122 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.str);
123 }
124 if ((uint)index > (uint)str.Length)
125 {
126 ThrowHelper.ThrowArgumentOutOfRange_IndexException();
127 }
128 return GetNextTextElementLength(str.AsSpan(index));
129 }
static int GetNextTextElementLength(string str)

References System.Globalization.StringInfo.GetNextTextElementLength(), System.index, System.str, System.ThrowHelper.ThrowArgumentNullException(), and System.ThrowHelper.ThrowArgumentOutOfRange_IndexException().