System.Character.IsSurrogate
Delphi
function IsSurrogate(Surrogate: Char): Boolean;
function IsSurrogate(Surrogate: UCS4Char): Boolean;
function IsSurrogate(const S: string; Index: Integer): Boolean;
C++
extern DELPHI_PACKAGE bool __fastcall IsSurrogate(System::WideChar Surrogate)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Character.pas System.Character.hpp |
System.Character | System.Character |
Description
Warning: IsSurrogate is deprecated. Please use TCharHelper.IsSurrogate.
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