Open main menu

RAD Studio API Documentation β

System.WideString.LastChar

C++

const WideChar*    LastChar() const;
WideChar*          LastChar();

Properties

Type Visibility Source Unit Parent
function public wstring.h System WideString

Description

Returns a pointer to the last character in a string.

Call LastChar to obtain a pointer to the last character in a string. This function supports multibyte character sets (MBCS).