Have a question or would like obtain
further information?
Call us on  1300 CAUSEIS
(1300 228 734)
For urgent support press option 2.

Doing Wildcard Search in Intelligent Query Architect (IQA)

By Kokila Palaniappan
Technical Analyst
Causeis

Have you ever come across an IQA query that doesn’t give the expected results when you use wildcard filters?

Here is why….

IQA filters that are wildcard search are ‘starts with’, ’ends with’, ’contains’, ’not contains’. When the data contains wildcard characters as literal characters ( example %, _, ^ ), IMIS is unable to apply the filters accurately resulting in ambiguous results.

Below are the guidelines on commonly used wildcard chars and how it can be used in the IQA filters.

Wildcard Character Description Example
% Data starting with the given characters First Name Starts with 'DE', gets all contacts whose first name starts with de or DE.
_ (underscore) Data starting with the given single character First Name Starts with '_ean', gets all contacts whose first name starts
with any char, but the following three chars are ean.
[ ] Data starting with any single character within the specified range
([a-f]) or set ([abcdef]).
First Name starts with [a-dpr], gets all contacts whose first name
starts with any chars from (a,b,c,d,p,r).
[^] Data not starting with any single char or range First Name starts with 'se[^a]', gets all contacts whose first name starts with se, but the third char is not a. (example SEAN will be excluded)
[%] % is a wildcard character, if data contains wildcard char as literal, this
gets the correct results (Data that contains %).
Product description starts with 'abstract[%]' , gets all products that
contains the word abstract% within the description.
[_] Data that contains _ Product code starts with 'AP[_]' , gets all products with product code starts with AP_ excluding products that starts with AP.