Share

acutWcMatchEx

C++

ACDBCORE2D_PORT bool acutWcMatchEx(
    const ACHAR * string, 
    const ACHAR * pattern, 
    bool ignoreCase
);

File

acutil.h

Description

This function is an updated version of acutWcMatch(). It returns true if there is a match and false if there is no match. You can specify if the wildcard matching should be ignore the case of alphabetic characters.

string is the string with which to perform the match. If the pointer is NULL, false is returned.

The wildcard pattern to use for pattern matching is specified with pattern. Refer to the documentation for acutWcMatch() for details of the wildcard characters. If the pointer is NULL, false is returned.

If ignoreCase is true, then the case of alphabetic letters is ignored when performing the wildcard matching. Specify false to make the matching case-sensitive.

Parameters

Parameters Description
string Input pointer to string to examine
pattern Input pointer to the wildcard pattern to use
ignoreCase Input Boolean to indicate if the case of alphabetic letters should be ignored

Previous Declaration

bool acutWcMatchEx(const ACHAR * string, const ACHAR * pattern, bool ignoreCase);

Was this information helpful?