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

sub string

Former Member
0 Likes
507

hi,

How can i get sub string from main string

when i know field positions dynamically,

regards,

venkat.

3 REPLIES 3
Read only

peter_ruiz2
Active Contributor
0 Likes
468

hi,

you can use a code like this.

v_substr = v_str+v_pos(v_length).

regards,

Peter

Read only

Former Member
0 Likes
468

hi

use the statement SPLIT

for mr info refer to this link

Cheers

Snehi

Read only

Former Member
0 Likes
468

>when i know field positions dynamically

If you know the starting and Ending postions simply using the offset will give you the Substring.