How to programmatically make a line break in word

Collecting the string

String text = data.get(15) + "тут_enter" + data.get(1);  

And I write it down in a word document.
So I did not find what character to insert instead of "tut_enter" that would be an entry in 2 lines?
I know that you can do it differently, but I wonder if there is any character / code for the transfer?

1 answers

Try \n instead of "tut_enter".

String text = data.get(15) + "\n" + data.get(1); 
 1
Author: Vladimir, 2017-06-09 06:07:08