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

conditional string replace

Fran2
6 - Meteoroid

Hello,

can someone give a quick and painless way how to replace parts of the string  based on a condition? I am attaching workflow with things I have tried. 

 

Thanks in advance!

1 REPLY 1
binuacs
21 - Polaris

@Fran2 updated your formula like below

 

IF [Field1] = "asd" THEN "1" ELSEIF [Field1] = "asd f" then "2" else [Field1] ENDIF

 

Labels
Top Solution Authors