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

alteryx find startwith and replace

ryanzhang487
8 - Asteroid

Hi community, I have a column with some data like "IK-400", "IK-323" or "IK-XAS", i would want to replace it to IKA-XXXX",

anything startswith IK- and i would like to replace it to IKA-, 

how can I do that please?

Thank you

2 REPLIES 2
alexnajm
18 - Pollux
18 - Pollux

Try a Formula: IF StartsWith([field],"IK) THEN ReplaceFirst([field],"IK","IKA" ELSE [field] ENDIF

BS_THE_ANALYST
15 - Aurora
15 - Aurora

@ryanzhang487  One way:

BS_THE_ANALYST_1-1678394918520.png

Using RegEx. Workflow attached

 

All the best,
BS

LinkedIN

Bulien
Labels
Top Solution Authors