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

◆ GetTextElementEnumerator() [2/2]

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

Definition at line 141 of file StringInfo.cs.

142 {
143 if (str == null)
144 {
145 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.str);
146 }
147 if ((uint)index > (uint)str.Length)
148 {
149 ThrowHelper.ThrowArgumentOutOfRange_IndexException();
150 }
151 return new TextElementEnumerator(str, index);
152 }

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