Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
I need to display a string which contains a lot of new line '\n'.These needs to be replaced with actual newlines in that string. How can I do that in android? | ||||
you should concatenate the newline operator like:
you said from database you could split like:
and then concatenate them | ||||
What seems to be happening is the string you receive from your database contains not the new line character, but rather the characters
| |||
default
.
stackoverflow.comm
No comments:
Post a Comment