2007 May 16 7:25 AM
hallow
i have a field name like orgeh
and in this field i have value like 12345abc99912345
and i wont to remove from this field <b>abc999</b>
that i have after just 1234512345
how can i do that?
regards
2007 May 16 7:28 AM
Hi,
use command :
concatenate orgeh1(5) orgeh10(5) into orgeh. "check offsets
Jogdand M B
Hi,
use command :
concatenate orgeh1(5) orgeh10(5) into orgeh. "check offsets
Jogdand M B
2007 May 16 7:28 AM
Hi,
use command :
concatenate orgeh1(5) orgeh10(5) into orgeh. "check offsets
Jogdand M B
2007 May 16 7:33 AM
Hi!
You can use this:
DATA: str TYPE string VALUE '12345aaa99912345',
st1 TYPE string,
st2 TYPE string.
SPLIT str AT 'aaa999' INTO st1 st2.
CONCATENATE st1 st2 INTO str.
2007 May 16 7:33 AM
Hi Antonio,
Use this code:
Replace 'abc999' in orgeh with ''.
Condense orgeh.
Regds,
Younus
<b>Reward Helpful Answers!!!</b>
2007 May 16 7:34 AM
Hai,
U can do by this,
Data : text(16) type c value '12345abc99912345',
p1(5) type c,
p2(7) type c.
split text at '9' into p1 p2.
shift p2 by 2 places left.
write : p1.
write : / p2.
concatenate p1 p2 into text.
write : / text.
Regards,
Padmam.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |