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

down a line

Former Member
0 Likes
948

Hallow I wont to do a concatenate and I wont down a line in the middle (between the to strings) how can i do that (in c++ i do \n for that)

CONCATENATE str '' INTO str SEPARATED BY space.

ENDLOOP.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
910

then do it as split str into str1 & str2 at space.

write:/ str1.

write:/ str2.

9 REPLIES 9
Read only

Former Member
0 Likes
910

Hi ,

Could you please give an example of what you want.

Regards

Arun

Read only

0 Likes
910

hi arun in the concatenate i have a two strings and i wont that when i write the second string it will be in new line seconed line

Read only

0 Likes
910

Hi Antonio ,

If my understanding is correct what you want is , we have two strings 'TEST' and 'TEST1' and the resulting string you want is

'TEST

TEST1' .

If that is the case , i dont think this is possible.

Just one more query , why do you want such a thing , may be we can suggest you some other alternative

Regards

Arun

Read only

0 Likes
910

this is what i wont i be happy for onter altrnative regards

Read only

0 Likes
910

Hi ,

If this is just to display in the list then what you can do is use the Write statement .

If you could tell what exactly is the requirement i.e. what you want to achive by such a stuff , i would be able to suggest an alternative.

Regards

Arun

Read only

Former Member
0 Likes
910

concatenate str1 ' ' str2 to str separated by space.

Read only

Former Member
0 Likes
910

Hi,

My understanding is while concatenating you want to dispaly the data on the output. If yes then use 'Writer: / field' to dispaly in the new line...

Regards,

Satya.

Read only

Former Member
0 Likes
910

Hello,

U can do like this.

data: lv_var type i.

Write: STR1.

lv_var = STRLEN ( STR1 ).

add 2 to lv_var.

new-line.

write: at lv_var STR2.

If useful reward.

Vasanth

Read only

Former Member
0 Likes
911

then do it as split str into str1 & str2 at space.

write:/ str1.

write:/ str2.