System.SysUtils.IsLeadChar

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function IsLeadChar(C: AnsiChar): Boolean;
function IsLeadChar(C: Byte): Boolean;
function IsLeadChar(C: WideChar): Boolean;

C++

extern DELPHI_PACKAGE bool __fastcall IsLeadChar(char C)/* overload */;

Properties

Type Visibility Source Unit Parent
function public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils System.SysUtils

Description

Checks whether a character is a valid lead character (first in a multi-byte character sequence).

Call IsLeadChar to check whether a character represents a valid lead character in the current system locale. A lead character is the first in a multi-byte character sequence. For ANSI characters, IsLeadChar uses the LeadBytes variable. Wide characters have a fixed locale-independent number of allowed lead characters.

See Also