09-28-2006 11:57 AM
data: f1 type string.
iam giving input as follows
f1 = '|mahee'.
my output should be
'mahee'.
can u tell me how to do\.
Thanks
Maheedhar.
09-28-2006 12:00 PM
data: f1 type string.
f1 = '|mahee'.
Possiblity one
Write: f1+1(5).
Or
DATA: LV1, LV2 type string.
SPLIT F1 at '!' in LV1 LV2.
WRITE: LV2.
if useful reward.
Vasanth
09-28-2006 12:00 PM
data: f1 type string.
f1 = '|mahee'.
Possiblity one
Write: f1+1(5).
Or
DATA: LV1, LV2 type string.
SPLIT F1 at '!' in LV1 LV2.
WRITE: LV2.
if useful reward.
Vasanth
09-28-2006 12:05 PM
Hi,
f1 = '|mahee'.
replace '|' with space into f1.
comdense f1.
write f1.
Regards
amole
09-28-2006 12:16 PM
hi,
data: f1 type string.
f1 = '|mahee'.
replace all occurrences of '|' in f1 with ' '.
condence f1.
write f1.
rgds
anver
pls mark points to all helpful answers