System.Character.GetUnicodeCategory

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetUnicodeCategory(C: Char): TUnicodeCategory;
function GetUnicodeCategory(C: UCS4Char): TUnicodeCategory;
function GetUnicodeCategory(const S: string; Index: Integer): TUnicodeCategory;

C++

extern DELPHI_PACKAGE TUnicodeCategory __fastcall GetUnicodeCategory _DEPRECATED_ATTRIBUTE1("Use TCharHelper") (System::WideChar C)/* overload */;

Properties

Type Visibility Source Unit Parent
function public
System.Character.pas
System.Character.hpp
System.Character System.Character

Description

Warning: GetUnicodeCategory is deprecated. Please use TCharHelper.GetUnicodeCategory.

Determines the Unicode category of a UTF-16 character.

Returns the Unicode category of the UTF-16 character.

See Also


Code Examples