UnicodeUtility.GetCharacterClass method

Returns the UnicodeCharacterClass of the character at the specified offset in the given string.

public static UnicodeCharacterClass GetCharacterClass(string s, int nIndex)
parameter description
s A String.
nIndex The character position in s.

Return Value

A UnicodeCharacterClass enumerated constant that identifies the character class of the character at position nIndex in s.

See Also