Yanndewael
Programmer
Hello,
I would like to remove spaces from a variable (ex: "This is the value" being convert into "Thisisthevalue" without having to use PERFORM checking all characters of the variable. I suspect it could be possible using the command INSPECT, but I don't know how. I tried
INSPECT VARIABLE REPLACING " " BY ""
but it don't work.
Any idea?
Thank you in advance
Yann
I would like to remove spaces from a variable (ex: "This is the value" being convert into "Thisisthevalue" without having to use PERFORM checking all characters of the variable. I suspect it could be possible using the command INSPECT, but I don't know how. I tried
INSPECT VARIABLE REPLACING " " BY ""
but it don't work.
Any idea?
Thank you in advance
Yann