Replace Function Help Needed

Hi could someone please assist.
I’m trying to replace “1” with “yes” and “0” with “no” but this doesn’t work

Code below

BLOCK:Parse
LABEL:ABCType
  input = @data.SOURCE
  leftDelim = $"\"ABC":\""
  rightDelim = $"\""
  caseSensitive = False
  MODE:LR
  => VAR @abc
ENDBLOCK

BLOCK:Replace
LABEL:ABCType
  original = @abc
  toReplace = "0"
  replacement = "No"
  => VAR @abcd
ENDBLOCK

BLOCK:Replace
LABEL:ABCType
  original = @abc
  toReplace = "1"
  replacement = "Yes"
  => VAR @abcd
ENDBLOCK

Use a translate block it’s much better.

Thanks Ruri that worked.

What you were doing wrong btw was that you needed to use @abcd as original in the last replace block and not @abc