Alteryx Designer Desktop Discussions

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

alteryx find startwith and replace

ryanzhang487
Asteroide

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 RESPUESTAS 2
alexnajm
17 - Castor
17 - Castor

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

BS_THE_ANALYST
Magnetar

@ryanzhang487  One way:

BS_THE_ANALYST_1-1678394918520.png

Using RegEx. Workflow attached

 

Etiquetas