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

Find Exact Word in single field containing multiple strings

connerdy
5 - Atom

I'm running into an issue where CONTAINS([EXCL_HCC_ID], [Row-1:HCC]) is returning true because the individual characters of EXCL_HCC_ID can be found in the HCC field. See the below screenshot for reference. 

 

connerdy_0-1624680922199.png

Is there a way to search for the complete 159 value in a list of strings instead of matching on the characters. 

 

2 REPLIES 2
mutama
Alteryx Alumni (Retired)

Hi @connerdy ,

 

Will the attached workflow solution help? At every step, I have annoted in each tool what is intended to do. 

 

Hope this helps!

 

Best,

Michael

DawnDuong
13 - Pulsar
13 - Pulsar

Hi @connerdy 

If you want to find the Exact match, you can use the string function

FindString(String,Target): Searches for the occurrence of a particular string (Target) within another string (String) and returns the numeric position of its occurrence in the string.

Returns the 0-based index of the first occurrence of (Target) in (String). Returns -1 if no occurrence.

dawn

Labels
Top Solution Authors