RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCharacter.IsHighSurrogate Method (Char)

Determines whether a UTF-16 character is defined as a high surrogate in the Unicode specifications.

Pascal
class function IsHighSurrogate(C: Char): Boolean; overload;
class function IsHighSurrogate(const S: string; Index: Integer): Boolean; overload;
C++
__fastcall Boolean IsHighSurrogate(Char C);
__fastcall Boolean IsHighSurrogate(const AnsiString S, int Index);

Returns true if the UTF-16 character is defined as a high surrogate in the Unicode specifications. 

 

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