We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Question on "contains" function

tww
8 - Asteroid

Hi all,

 

I have following text strings, and I would like to get all the ones contain "text" (case insensitive). I tried Filter with "Contains("text",[String]) but it did not show the correct results. Could someone help and let me know why ? Thank you

String
Text A
A
Text B
Text c
Txt C
text C
B

 

Output

 

String
Text A
Text B
Text c
text C
 

 

TWW

3 REPLIES 3
Qiu
21 - Polaris
21 - Polaris

@tww 
Did you include the 1 in your formula?

0516-tww.PNG0516-tww-B.png

binuacs
21 - Polaris

@tww Your Contains() function syntax is not  correct it should be the other way around Contains([String],'text')

binuacs_0-1684225602199.png

 

tww
8 - Asteroid

Thank you, @Qiu  and @binuacs . 

Labels
Top Solution Authors