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

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

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

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

 

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