C++
Adesk::Int32 findLast( ACHAR ch, Adesk::Int32 nEndPos = -1 ) const;
Description
Finds the last occurrence of a character in the string.
Parameters
Parameters | Description |
---|---|
ch | Input character to search for |
nEndPos | Input last character position to look at, -1 to start at end of string |
Returns
Position in which the character was found, else -1.
Links
Previous Declaration
AutoCAD 2020 through 2024
int findLast(ACHAR ch, int nEndPos = -1) const;
inline int AcString::findLast(ACHAR ch, int nEndPos) const;
History
AutoCAD 2025
Function now returns Adesk::Int32 instead of int, and the nEndPos argument now takes an Adesk::Int32 value instead of int.