Skip to content

strrscan

Find last occurrence of a character in a null-terminated string.

Declaration

Source position: syspchh.inc line 31

function StrRScan(p: PAnsiChar; c: AnsiChar) : PAnsiChar;
function strrscan(p: PWideChar; c: WideChar) : PWideChar;

Description

Returns a pointer to the last occurrence of the character C in the null-terminated string P. If C does not occur, returns Nil.

For an example, see StrScan.

Errors

None.

See also

Name Description
StrScan Find first occurrence of a character in a null-terminated string.
StrPos Find position of one null-terminated substring in another.