UnicodeUtility class

Utility methods for working with Unicode characters.

public static class UnicodeUtility

Public Members

name description
static GetCharacterClass(…) Returns the UnicodeCharacterClass of the character at the specified offset in the given string.
static GetCharacterClassFromCategory(…) Returns the major character class for the specified Unicode general category.
static GetCharacterLength(…) Gets the length (in chars) of the Unicode character at the specified offset in the given string. (2 methods)
static GetCodePoint(…) Converts the value of a UTF-16 encoded character or surrogate pair at a specified position in a StringBuilder into a Unicode code point.

See Also