RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.AnsiLastChar Function

Returns a pointer to the last character in a string.

Pascal
function AnsiLastChar(const S: string): PChar;
C++
const char * AnsiLastChar(const AnsiString S);

SysUtils

Call AnsiLastChar to obtain the last character in a string. This function supports multi-byte character sets (MBCS). 

 

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