Method EnumerateCodePoints
EnumerateCodePoints(string, int, int)
Splits a text range into Unicode code points, pairing surrogates.
public static List<int> EnumerateCodePoints(string text, int start, int end)
Parameters
textstringThe text to walk.
startintThe inclusive start index; clamped into range.
endintThe exclusive end index; clamped into range.
Returns
Exceptions
- ArgumentNullException
textis null.