Skip to content

IsLeadChar

Is the character code the lead character of a multi-byte character.

Declaration

Source position: sysstrh.inc line 291

function IsLeadChar(C: AnsiChar) : Boolean;  overload; overload;
function IsLeadChar(B: Byte) : Boolean;  overload; overload;
function IsLeadChar(Ch: WideChar) : Boolean;  overload; overload;

Description

IsLeadChar returns True if the character C (or byte B) is the lead character (or byte) of a multi-byte character. In case of Ch a UTF-32 lead character.

Errors

None.