Share

AcString::findNoCase

C++

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

Description

Find a substring in the string, case-independently.

Parameters

Parameters Description
pwsz Input string to search for
nStartPos Input zero-based first character position to look at

Returns

The position of the found substring, else -1 if not found.

Remarks

Invalid nStartPos will return -1.

Note: Passing in nullptr or empty string will return string length.

Links

AcString

Was this information helpful?