RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Character.GetUnicodeCategory Function

Determines the Unicode category of a UTF-16 character.

Pascal
function GetUnicodeCategory(C: Char): TUnicodeCategory; overload;
function GetUnicodeCategory(const S: string; Index: Integer): TUnicodeCategory; overload;
C++
TUnicodeCategory GetUnicodeCategory(Char C);
TUnicodeCategory GetUnicodeCategory(const AnsiString S, int Index);

Returns the Unicode category of the UTF-16 character. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!