need a function module can get rid of the "0" before a "char" or "NUM"
Do someone know a function module can get rid of the meaningless "0" before a "char" or "NUM"?
if the char or num is like "000000hello"
i need it change into "hello"
Please help me out.
thanks in advance.
Message was edited by:
DATA : CHAR(10) VALUE '000000123'.
TRANSLATE CHAR USING '0 '.
WRITE : CHAR.
data:num(5) type n,char(5) type c.
num = 120.
write num to char no-zero.
Reward if Useful.,