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

SAP Widget string function to Extract a portion of a string

Former Member
0 Likes
451

Hi Friends,

Any one can help me.

I need a SAP Widget string function to Extract a portion of a string (Substring)

Thanks and regards

Srikanth S

Hi Friends,

Any one can help me.

I need a SAP Widget string function to Extract a portion of a string (Substring)

Thanks and regards

Srikanth S

2 REPLIES 2
Read only

vinod_vemuru2
Active Contributor
0 Likes
417

Hi,

A simple string operation will do it.

Take the offset you wanted.

eg: DATA: l_string TYPE string.

l_string = 'This is test'.

this = l_string+0(4).

is = l_string+5(2).

Thanks,

Vinod.

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
417

Check this

link:[http://help.sap.com/abapdocu_70/en/ABENSUBSTRING_FUNCTIONS.htm]