Get the Unicode category of a character.
Source position: character.pas line 112
| public class function TCharacter.GetUnicodeCategory( | 
| AChar: UnicodeChar | 
| ):TUnicodeCategory; overload; | 
| const AString: UnicodeString; | 
| AIndex: Integer | 
| ):TUnicodeCategory; overload; | 
| aChar: UCS4Char | 
| ):TUnicodeCategory; overload; | 
| AChar | 
 | UTF16 Character. | 
The Unicode character category.
| AString | 
 | String containing UTF-16 encoded characters. | 
| AIndex | 
 | Index of UTF16 encoded character in AString to be checked. | 
| aChar | 
 | UTF16 Character. | 
TCharacter.GetUnicodeCategory returns the Unicode category of a character. The character can be presented in 2 ways: AChar, a UTF16 Unicode character, or a surrogate pair in a Unicode string AString starting at position AIndex.
If AIndex is not a valid character index in the string AString, an EArgumentOutOfRangeException exception is raised. If the character at that position is not complete, an EArgumentException exception is raised.
| 
 | Unicode code point (character) category. |