System.Character.TCharacter.ConvertToUtf32

提供: RAD Studio API Documentation
移動先: 案内検索

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; inline; static;
class function ConvertToUtf32(const HighSurrogate, LowSurrogate: Char): UCS4Char; overload; inline; static;

C++

static System::UCS4Char __fastcall ConvertToUtf32(const System::UnicodeString S, int Index)/* overload */;
static System::UCS4Char __fastcall ConvertToUtf32(const System::UnicodeString S, int Index, /* out */ int &CharLength)/* overload */;
static System::UCS4Char __fastcall ConvertToUtf32(const System::WideChar HighSurrogate, const System::WideChar LowSurrogate)/* overload */;

プロパティ

種類 可視性 ソース ユニット
function public
System.Character.pas
System.Character.hpp
System.Character TCharacter

説明

UTF-16 文字またはサロゲート ペアを UCS4Char に変換します。

このメソッドは、以下のようにオーバーロード(多重定義)されています。

文字列 S 内のインデックス Index に位置する UTF-16 文字またはサロゲート ペアを UCS4Char に変換します。

文字列 S 内のインデックス Index に位置する UTF-16 文字またはサロゲート ペアを UCS4Char に変換し、S から変換した文字の長さを UTF-16 文字における CharLength として返します。

UTF-16 文字の上位サロゲートと下位サロゲート文字のペアを、それらを結合した UCS4Char 値に変換します。

関連項目