System.Character.TCharHelper.GetUnicodeCategory
Delphi
function GetUnicodeCategory: TUnicodeCategory; overload;
class function GetUnicodeCategory(const S: string; Index: Integer): TUnicodeCategory; overload; static;
class function GetUnicodeCategory(C: UCS4Char): TUnicodeCategory; overload; static;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Character.pas | System.Character | TCharHelper |
Description
Determines the Unicode category of a UTF-16 character.
This method is overloaded:
- Returns the Unicode category of the UTF-16 character.
- Returns the Unicode category of the UTF-16 character at the
Index
in stringS
. - Returns the Unicode category of a UCS4Char.