RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Character.IsHighSurrogate Function

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

Pascal
function IsHighSurrogate(C: Char): Boolean; overload;
function IsHighSurrogate(const S: string; Index: Integer): Boolean; overload;
C++
Boolean IsHighSurrogate(Char C);
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!