System.Character.TCharacter.IsSurrogate
Delphi
class function IsSurrogate(Surrogate: Char): Boolean; overload; inline; static;
class function IsSurrogate(Surrogate: UCS4Char): Boolean; overload; inline; static;
class function IsSurrogate(const S: string; Index: Integer): Boolean; overload; inline; static;
C++
static bool __fastcall IsSurrogate(System::WideChar Surrogate)/* overload */;
static bool __fastcall IsSurrogate(unsigned Surrogate)/* overload */;
static bool __fastcall IsSurrogate(const System::UnicodeString S, int Index)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Character.pas System.Character.hpp |
System.Character | TCharacter |
Description
Determines whether a UTF-16 character is defined as a surrogate in the Unicode specifications.
Returns true if the UTF-16 character is defined as a surrogate in the Unicode specifications.
See Also
Code Examples