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
17 - Castor
17 - Castor

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

BS_THE_ANALYST
14 - Magnetar

@ryanzhang487  One way:

BS_THE_ANALYST_1-1678394918520.png

Using RegEx. Workflow attached

 

Polls
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Labels