RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
AnsiStringBase::IsTrailByte Method

Returns true if the specified byte is of type mbTrailByte.

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

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

 

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