C++
Adesk::Int32 findOneOf( const ACHAR * pwsz, Adesk::Int32 nStartPos = 0 ) const;
Description
Finds the first character in this string which matches any in a group of input characters.
Parameters
Parameters | Description |
---|---|
pwsz | Input group of characters to search for |
nStartPos | Input first character position to look at |
Returns
Position in which the character was found, else -1 if not found.
Remarks
If pwsz is nullptr, then we search for whitespace.
Invalid nStartPos will return -1.
Links
Previous Declaration
AutoCAD 2020 through 2024
ACBASE_PORT int findOneOf(const ACHAR *psz, int nStartPos = 0) const;
History
AutoCAD 2025
Function now returns Adesk::Int32 instead of int, and the nStartPos argument now takes an Adesk::Int32 value instead of int.