RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
AnsiStringBase::IsLeadByte Method

Returns true if the specified byte is a lead byte.

Pascal
function IsLeadByte(index: Integer): bool;
C++
__fastcall bool IsLeadByte(int index) const;

System::AnsiStringBase::IsLeadByte returns true if the byte indicated by index (counting from 0) is the lead byte in a multi-byte character. If the byte is a trailing byte, or not part of a multi-byte character, System::AnsiStringBase::IsLeadByte returns false. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!