C++
Adesk::Int32 findLastOneOf( const ACHAR * pwsz, Adesk::Int32 nEndPos = -1 ) const;
Description
Finds the last character in this string from a group of input characters.
Parameters
Parameters | Description |
---|---|
pwsz | Input group of characters to match |
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 if not found.
Remarks
If pwsz is nullptr, then we search for whitespace.
Links
Previous Declaration
AutoCAD 2020 through 2024
ACBASE_PORT int findLastOneOf(const ACHAR *psz, int nEndPos = -1) 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.