Hello experts,
i come across a particular problem while processing the particular contents of a String.
For example:
DATA: gv_text TYPE string.
gv_text = `perform 'zrab_carl08' '1000'`.
how could I get the contents between ' ' of gv_text?( in this Example ,I want to get zrab_carl08 and 1000 without ' ' )
A comrade of mine tell me a method for this question:
1 define an internal table :
DATA: result_tab TYPE match_result_tab.
2 Then use the very follow codes:
FIND ALL OCCURRENCES OF ''''
IN gv_text
RESULTS result_tab.
in the table of result_tab contains the posention of ' in the string,
and then i could get the content between of ' ' .
but it is very complex,is there some good methds to reach the very requirement?
hope to receive Your response and suggestions. I am sure any words could make great use for me to get out of this problem !!
Best Regards!!
From Carl