Newline in textview
-
How would I convert “</br>” to a newline in a textview? Also how would I convert when a user enters a return to “</br>”?
-
a newline is '\n'.
str.replace
should work for this.
Why not post a simple example of what you've tried, and where you are getting stuck...
-
I was using a forward slash instead of backslash