System.AnsiStringBase.IsLeadByte

From RAD Studio API Documentation
Jump to: navigation, search

C++

bool         IsLeadByte(int index) const _ALWAYS_INLINE {

Properties

Type Visibility Source Unit Parent
function public dstring.h System AnsiStringBase

Description

Returns True if the specified byte is a lead byte.

IsLeadByte returns True if the byte indicated by index (counting from 0) is the lead byte in a multibyte character. If the byte is a trailing byte, or not part of a multibyte character, IsLeadByte returns False.