I need to create a conditional in plain TeX like this:
IF #1 = "N"
THEN
PRINT "TRUE"
ELSE
PRINT "#1"
I tried various ways in TeX. The solution must be simple, but none of the ways I tried worked, e.g.:
\if#1="N"
N
\else
#1
\fi
There is never any other code inside #1 when "#1" is set to "N", e.g., \macro{N}, it is never \macro{\emph{N}}.
How can I create a conditional which checks the value of written text?
