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;
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | public | System.Character.pas | System.Character | TCharHelper |
Description
Détermine la catégorie Unicode d'un caractère UTF-16.
Cette méthode est surchargée :
- Renvoie la catégorie Unicode du caractère UTF-16.
- Renvoie la catégorie Unicode du caractère UTF-16 situé à l'indice
Index
dans la chaîneS
. - Renvoie la catégorie Unicode d'un UCS4Char.