System.Character.IsHighSurrogate
Delphi
function IsHighSurrogate(C: Char): Boolean;
function IsHighSurrogate(C: UCS4Char): Boolean;
function IsHighSurrogate(const S: string; Index: Integer): Boolean;
C++
extern DELPHI_PACKAGE bool __fastcall IsHighSurrogate(System::WideChar C)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Character.pas System.Character.hpp |
System.Character | System.Character |
Description
Attention: IsHighSurrogate is deprecated. Please use TCharHelper.IsHighSurrogate.
Determines whether a UTF-16 character is defined as a high surrogate in the Unicode specifications.
Returns true if the UTF-16 character is defined as a high surrogate in the Unicode specifications.
See Also