Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to write code?

Former Member
0 Likes
382

Hi

I have a srting containing a ' - ' ( DASH) in it. I have to take the words after that ' - '. The position of ' - ' is not fixed.Suppose

SAP- INDIA = INDIA

SAPAG- DEMO = DEMO.So how to do that?

Regards,

Kaushik Datta

1 ACCEPTED SOLUTION
Read only

ThomasZloch
Active Contributor
0 Likes
361

check out the SPLIT statement (F1 Help).

Thomas

P.S. and use meaningful subject lines

2 REPLIES 2
Read only

ThomasZloch
Active Contributor
0 Likes
362

check out the SPLIT statement (F1 Help).

Thomas

P.S. and use meaningful subject lines

Read only

0 Likes
361

In ABAP you have an instruction with is SPLIT string AT INTO string1 string2 which do the job.

Press F1 on split in your ABAP editor, you ll have information

Sincerely

Christophe Blineau