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

TAB delimited strings

Former Member
0 Likes
464

Hello all,

It took me a while to find a simple solution for stripping out hex tabs in a string in 4.7 so I thought I'd share it with you.

Rather than converting the string to xstring (and possibly back again) You can use hex codes with SPLIT if you define them as constants like this..

c_delimiter type c value cl_abap_char_utilities=>HORIZONTAL_TAB.

This works with REPLACE too but I haven't tried it with other string handling commands.

1 REPLY 1
Read only

Former Member
0 Likes
418

Thanks for sharing. It saved me some time.

Kishore.