Show: Object Pascal C++
Display Preferences

System.SysUtils.AnsiStrRScan

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

function AnsiStrRScan(Str: PAnsiChar; Chr: AnsiChar): PAnsiChar;
function AnsiStrRScan(Str: PWideChar; Chr: WideChar): PWideChar;

C++

extern DELPHI_PACKAGE char * __fastcall AnsiStrRScan _DEPRECATED_ATTRIBUTE1("Moved to the AnsiStrings unit") (char * Str, char Chr)/* overload */;

Properties

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

Description

Warning: Ansi version of AnsiStrRScan is deprecated. Please use AnsiStrings unit.

Returns a pointer to the last occurrence of a specified character in a specified string.

Call AnsiStrRScan to obtain a pointer to the last occurrence of Chr in Str. If Chr does not occur in Str, AnsiStrRScan returns nil (Object Pascal) or NULL (C++). The null terminator is considered to be part of the string.

Unlike the StrRScan function, AnsiStrRScan works with multi-byte character systems (MBCS).

See Also

Personal tools
Translations