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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
jlassell
Partner - Contributor II
Partner - Contributor II

Searching for WildCard Characters

How can you search in a field for an "*" (asterisk)? -- or any wildcard at all?

I would also like to be able to create a button that has an action which Selects any of the following characters in a field (quote mark, double quote mark, tick, pipe, asterisk, question mark).

Any ideas?

Thanks,

-Jeff

5 Replies
Not applicable

This came up in a recent thread. http://community.qlik.com/forums/p/22182/85125.aspx

The users came up with some pretty good ideas. I think in the end it was using: ?*?. A macro solution was also provided.

jlassell
Partner - Contributor II
Partner - Contributor II
Author

That helps. It got me on the right track.

I was able to use =FindOneOf( mval, '?~*" ' ) to find the values with these characters. The one thing I can't put in is the ' (single quote mark). I would still like to be able to do that.

I also cannot get the same solution to work in a Select field Action in a Button.

Not applicable

Chr(39) is the code for a single quote. Did you try:

=FindOneOf( mval, '?~*" ' & Chr(39))


jlassell
Partner - Contributor II
Partner - Contributor II
Author

That works for a direct search in the List Box. Thanks!

I wish I could get it to work on the Field Selection for an Action.

Anonymous
Not applicable

Try replacing the * by a +. This worked for me.

Replace([field],'*','+') as [fieldII]