System.Character.TCharHelper.ConvertToUtf32
Delphi
class function ConvertToUtf32(const S: string; Index: Integer): UCS4Char; overload; inline; static;
class function ConvertToUtf32(const S: string; Index: Integer; out CharLength: Integer): UCS4Char; overload; static;
class function ConvertToUtf32(const HighSurrogate, LowSurrogate: Char): UCS4Char; overload; static;
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | public | System.Character.pas | System.Character | TCharHelper |
Description
Convertit un caractère UTF-16 ou une paire de substitution en UCS4Char.
Cette méthode est surchargée :
- Convertit la paire de substitution ou le caractère UTF-16 situé à l'indice
Index
dans la chaîneS
en UCS4Char. - Convertit la paire de substitution ou le caractère UTF-16 situé à l'indice
Index
dans la chaîneS
en UCS4Char, et renvoie la longueur du caractère converti depuisS
en tant que CharLength en caractères UTF-16. - Convertit une paire de caractères de substitution UTF-16 (étendus ou faibles) en leur valeur UCS4Char combinée.