RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
AnsiString::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::AnsiString::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::AnsiString::IsTrailByte returns false. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!