Share

AcString::findRev

C++

Adesk::Int32 findRev(
    const ACHAR * pwsz
) const;

Description

Deprecated. Finds the last occurrence of a substring in the string.

Parameters

Parameters Description
psz Input substring to search for

Returns

Position in which the substring was found, else -1.

Links

AcString

Previous Declaration

AutoCAD 2024 and earlier

int findRev(const ACHAR *psz) const;

Use Instead

Adesk::Int32 findLast(ACHAR ch, Adesk::Int32 nEndPos = -1) const;

History

AutoCAD 2025

Function now returns Adesk::Int32 instead of int.

Was this information helpful?