System.Character.TCharacter.GetUnicodeCategory
Delphi
class function GetUnicodeCategory(C: Char): TUnicodeCategory; overload; inline; static;
class function GetUnicodeCategory(C: UCS4Char): TUnicodeCategory; overload; inline; static;
class function GetUnicodeCategory(const S: string; Index: Integer): TUnicodeCategory; overload; inline; static;
C++
static TUnicodeCategory __fastcall GetUnicodeCategory(System::WideChar C)/* overload */;
static TUnicodeCategory __fastcall GetUnicodeCategory(unsigned C)/* overload */;
static TUnicodeCategory __fastcall GetUnicodeCategory(const System::UnicodeString S, int Index)/* overload */;
プロパティ
| 種類 | 可視性 | ソース | ユニット | 親 |
|---|---|---|---|---|
| function | public | System.Character.pas System.Character.hpp |
System.Character | TCharacter |
説明
指定された UTF-16 文字の Unicode カテゴリを返します。
C パラメータを Char または UCS4Char として指定することができます。あるいは、String と、その String 内の文字のインデックス(Index パラメータ)を指定することもできます。