Missed the Q4 Fall Release Product Update? Watch the on-demand webinar for more info on the latest in Designer 24.2, Auto Insights Magic Reports, and more!
Free Trial

Alteryx Designer Desktop Discussions

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

Find first occurrence from set of strings

123love55448
6 - Meteoroid

Hi All,

 

For example, if I have three words that I am looking for (A, B, C) and there is a column containing list of strings (D, S, E, A, C, B, D, E). I want to whether list of strings contain (A, B, C) or not in the first 3 lists. Then if there is (A, B, C) I want to know which one appear first.

 

Input Column                 Expected Output1            Expected Output 2       

(A, B, C, D, E, F, G)       Yes                                    A

(B, E, G, A, D, C)           Yes                                    B

(U, O, P, P)                    No                                      - 

(E, C, Q, W)                   Yes                                    C

(C, D, A, W, A, O)           Yes                                   C

 

A bit confusing, but very appreciated if anyone can help.

3 REPLIES 3
Luke_C
17 - Castor
17 - Castor

Hi @123love55448 

 

You can use the find and replace tool:

Luke_C_0-1662155390901.png

 

 

binuacs
21 - Polaris

@123love55448 Another way of doing this

 

binuacs_0-1662189890538.png

 

Emmanuel_G
13 - Pulsar

Hi @123love55448 ,

 

Another explicit and clear way to do this

 

Emmanuel_G_0-1662240029772.png

 

Labels
Top Solution Authors