2007 Jul 13 6:29 AM
hi,
i have doubt in basic.
for example : x = priya y = reddy.
i want output in z=prre.
how can i solve this query.
thanx and regrads
priya
2007 Jul 13 6:32 AM
hi,
chk the code below.
concateneate x0(2) y0(2) into z.
regards,
Navneeth K.
2007 Jul 13 6:32 AM
Hi,
Concatinate x+0(2) y+0(2) into Z. " We are givign only first 2 charecters
Write Z.
Regards
Sudheer
2007 Jul 13 6:33 AM
2007 Jul 13 6:45 AM
hello priya,
this is what i made fr ur query:
REPORT ZTEMP_CJ5.
DATA: x type char8,
y type char8,
n type i,
z type string.
x = 'priya'.
y = 'reddy'.
n = 2.
concatenate x(n) y(n) into z.
write: z.
i just hope it helps u
2007 Jul 13 6:49 AM
hii
data : x type string value 'priyya',
y type string value 'reddy',
z type string.
Concatenate x0(2) y0(2) into Z.
write z.
reward if useful.
2007 Jul 13 6:58 AM
hi ,
data: x type s,
y type s,
z type s.
concatenate x0(2) y0(2) into z. [ x+0(2) means starting from 0th position 2 characters are added to ans same to y finally added to z]
write:/10 z.
if helpful reward some points.
with regards,
Suresh.A