RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
AnsiStringBase::LastChar Method

Returns a pointer to the last character in a string.

Pascal
function LastChar: char*;
C++
__fastcall char* LastChar() const;

Call System::AnsiStringBase::LastChar to obtain a pointer to the last character in a string. This function supports multi-byte character sets (MBCS). 

 

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