sure something like this
if ( $ isin %ppp ) { /set %ppp $replace(%ppp,$,04$01) }
will put out $$$$$$$$$ without spaces
however this
if ( < isin %ppp ) { /set %ppp $replace(%ppp,<,12<01) }
will put out < < < < < < with spaces
instead of <<<<<< without spaces