System.Character.ConvertToUtf32
Delphi
function ConvertToUtf32(const S: string; Index: Integer): UCS4Char;
function ConvertToUtf32(const S: string; Index: Integer; out CharLength: Integer): UCS4Char;
function ConvertToUtf32(const HighSurrogate, LowSurrogate: Char): UCS4Char;
C++
extern DELPHI_PACKAGE unsigned __fastcall ConvertToUtf32(const System::UnicodeString S, int Index)/* overload */;
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | public | System.Character.pas System.Character.hpp |
System.Character | System.Character |
Description
Avertissement : ConvertToUtf32 est obsolète. Veuillez utiliser TCharHelper.ConvertToUtf32.
Convertit une paire de substitution ou un caractère UTF-16 en un UCS4Char.
Cette fonction est surchargée :
Convertit la paire de substitution ou le caractère UTF-16 situé à l'indice Index dans la chaîne S en un UCS4Char.
Convertit la paire de substitution ou le caractère UTF-16 situé à l'indice Index dans la chaîne S en un UCS4Char, et renvoie la longueur du caractère converti depuis S en tant que CharLength dans les caractères UTF-16.
Convertit une paire de substitution de caractères UTF-16 (étendu et faible) en leur valeur UCS4Char combinée.