‎2008 Jan 25 6:23 AM
Hi Experts,
i have a string like this.
EURO:HI ALL.
but i want the string only after : to get printed.
Hi All.
Note : No matter wt is there before : But in want to print only the data after :
Thanks in Advance
‎2008 Jan 25 6:26 AM
Hi,
Do like this
Data: str type string.
Data: str1 type string,
str2 type string.
Str = 'EURO:HI ALL'.
Split str at ':' into str1 str2.
Write: str2.
Regards,
Satish
‎2008 Jan 25 6:26 AM
Hi,
Do like this
Data: str type string.
Data: str1 type string,
str2 type string.
Str = 'EURO:HI ALL'.
Split str at ':' into str1 str2.
Write: str2.
Regards,
Satish
‎2008 Jan 25 6:26 AM
Split the data at : into 2 variables using teh SPLIT command.
Write the 2nd variable.
‎2008 Jan 25 6:26 AM
Use SPLIT command.
Split <string> at ':' into <string1> <string2>.
String2 will contain the data after ":".
‎2008 Jan 25 6:27 AM
Hi,
data:
count type i
search for ':' string .
if sy-subrc eq 0.
count = sy-fdpos + 1.
endif.
char = string+5.
write : / char.
plzz reward if it is usefull...