System.Character.GetUnicodeCategory

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

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