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
20 - Arcturus
20 - Arcturus

@tww 
Did you include the 1 in your formula?

0516-tww.PNG0516-tww-B.png

binuacs
20 - Arcturus

@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