I am using webservice in my android application. In my webservice result I get a HTML formatted String as result.
Assume this is my web service result:
have you tried with \r\n ?`
If this not works then you can try with : \n with escape sequence : \\\n I hope this will help you :)
\n
\\\n
Something like this
string = string.replace("\\\n", System.getProperty("line.separator"));