Originally posted by: SystemAdmin
Dear all,
Now I occurrd a new problem.
In ESQL, a Character variable contain some "carriage return characters" like "\k", and I want to delete or replace it.Could you tell me how to do it?
sample:
TEMP:variable contains "carriage return characters"
Way1. Replay(failed)
SET TEMP=REPLACE(TEMP, '\n', '');
Way2. LENTH
CECLARE TEMP INT;
SET TEMP=LENGTH(TEMP);
from above, I know "carriage return characters" is 1 char length.
Please help me to work it out, and thank you very much.
#AIX-Forum