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
20 - Arcturus

@Fran2 updated your formula like below

 

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

 

Labels