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

Retrieved from "https://docwiki.embarcadero.com/Libraries/Tokyo/e/index.php?title=System.SysUtils.AnsiLastChar&oldid=151104"