System.Character.TCharHelper.IsHighSurrogate

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function IsHighSurrogate: Boolean; overload; inline;
class function IsHighSurrogate(const S: string; Index: Integer): Boolean; overload; inline; static;
class function IsHighSurrogate(C: UCS4Char): Boolean; overload; inline; static;

Properties

Type Visibility Source Unit Parent
function public System.Character.pas System.Character TCharHelper

Description

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

This method is overloaded:

  • Returns True if the character is defined as a high surrogate in the Unicode specifications.
  • Returns True if the character at Index in string S is defined as a high surrogate in the Unicode specifications.
  • Returns True if the UCS4Char is defined as a high surrogate in the Unicode specifications.

See Also