ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more 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

binu_acs
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 @binu_acs . 

Labels
Top Solution Authors