Call AnsiStrRScan to obtain a pointer to the last occurrence of Chr in Str. If Chr does not occur in Str, AnsiStrRScan returns nil (Delphi) 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).