如题,
原题要求先拆分一个随意的英文string,然后loop循环。
代码如下:
DATA: str1 TYPE string,
itab TYPE TABLE OF string,
text TYPE string VALUE 'Presentation styles of search results have been constantly changing in these years, which affect users'' click-through behaviors. In order to discover what the'.
SPLIT text AT space INTO TABLE itab.
LOOP AT itab INTO str1.
WRITE :/ str1.
ENDLOOP.
现在需要把内表中的多行结果又重新的合并起来,求大神讲解。