Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

conditional function-help

hieeee guys,

Please tell me how to use match ,wildmatch and mixmatch with some example and where they are used in script or on object side..

please explain

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Look at the help file. The information you're looking for is available in the help file. Honestly, I kid you not.


talk is cheap, supply exceeds demand
its_anandrjs
Champion III
Champion III

All from help

1. Match Function

match( str, expr1 [ , expr2,...exprN ] )

The match function performs a case sensitive comparison.

Example:

match( M, 'Jan','Feb','Mar')

returns 2 if M = Feb

returns 0 if M = Apr or jan



2. WildMatch Function


wildmatch( str, expr1 [ , expr2,...exprN ] )

The wildmatch function performs a case insensitive comparison and permits the use of wildcard characters ( * and ?) in the comparison strings.

Example:

wildmatch( M, 'ja*','fe?','mar')

returns 1 if M = January

returns 2 if M = fex


3. MixMatch Function


mixmatch( str, expr1 [ , expr2,...exprN ] )

The mixmatch function performs a case insensitive comparison.

Example:

mixmatch( M, 'Jan','Feb','Mar')

returns 1 if M = jan



This will more clear to you.