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
16 - Nebula
16 - Nebula

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

 

Labels