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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Wildmatch Function

Is there a way to check the string if it is preceded by a number?

For example:

String = "1234 abcdefg"

Wildmatch(String,'*# abcd*') > 0

4 Replies
senpradip007
Specialist III
Specialist III

Try to use like 

String = "1234 abcdefg"

=WildMatch(String,  '*abcd*')

anbu1984
Master III
Master III

=If(IsNum(Left('1234 abcdefg',1)),'Num','Not Num')

=If(IsNum(SubField('1234 abcdefg',' ',1)),'Num','Not Num')

Not applicable
Author

I Used Wildmatch(String, '?????abcd*') > 0 instead.

anbu1984
Master III
Master III

This expr returns true even if you have alphabets

Wildmatch('abcd abcd', '?????abcd*') > 0