The `if` there is extraneous; if you call `replace...
# suitescript
e
The
if
there is extraneous; if you call
replace
and nothing matches, then nothing will happen to the string