Indicates if a string matches a search pattern.
#include <smsutapi.h> NWBOOLEAN NWSMWildMatch ( STRING pattern, STRING string);
(IN) Specifies the pattern to search for (see Wildcard Values).
(IN) Specifies the string to search.
The following table lists the return values associated with the function.
NOTE:This function is supported only for backward compatibility, the NWSMGenericWildMatch function can be used instead of this, as it provides the same functionality.
pattern can contain the following wild cards: ASTERICKS, QUESTION, SQUESTION, or SPERIOD.
If you need double-byte enabling, call NWSMMatchName.
#include <smsutapi.h> CCODE isWildMatch; char patternBuf[15], stringBuf[15]; /* Arbitrary size. */ STRING pattern = (STRING)patternBuf, string = stringBuf; isWildMatch = NWSMWildMatch(pattern,string);