API Reference > Extension Classes > ExServices Classes > KWIndexData Class > KWIndexData Methods > KWIndexData::match Method
KWIndexData::match Method
Syntax
C++
bool match(const OdString& str) const;
Parameters 
Description 
const OdString& str 
[in] string to test keyword matching. 

true if and only if the specified string matches the beginning of Key1 or it's part Key2 or it's part. Start of partial key is encoded by uppercase letter.

The comparison is case-insensitive.

If (Key1 == "noRth") || (Key2 == "South") then match("NOR") == true and match("SOUTHWEST") == false; match("RT") == true and match("UT") == false.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.