Share

AcString::findNoneOf

C++

Adesk::Int32 findNoneOf(
    const ACHAR * pwsz, 
    Adesk::Int32 nStartPos = 0
) const;

Description

Finds the first character in this string which does not match 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 of the "not found" character, else -1 if all were found.

Remarks

If pwsz is nullptr, then we search for not whitespace.

Links

AcString

Previous Declaration

AutoCAD 2020 through 2024

ACBASE_PORT int findNoneOf(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.

Was this information helpful?