System.SysUtils.AnsiLastChar

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function AnsiLastChar(const S: UnicodeString): PWideChar;

C++

extern DELPHI_PACKAGE System::WideChar * __fastcall AnsiLastChar(const System::UnicodeString S)/* overload */;

Properties

Type Visibility Source Unit Parent
function public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils System.SysUtils

Description

Returns a pointer to the last character in a string.

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

See Also