suppose
String s2=q[u]; //s2="hello my name is john and i stay in usa and i m married"
label.setText(s2.replace("and","\n")) //so that i may get output on new line when "and" is encountered
but thats not so ,it get printed on same line i also tried //n
but when i replace "\n" with any string it works
help me out please
also if i use html to do so how to get value of s2 say :
String htmlLabel = "<html><body> your output is<br>s2<br></body></html>";
because s2 gets its value from q[u] where q[] is array of string which i am retriving from database