java - how to detect new line in this type of string -
string quote = "now time "+ "men come aid of country.";
i want detect break line in run time when click on button want know new line comes.. because in textview want output same string nothing change.. tell me idea or logic or source code of this....
the '\n' character specifies line break.
"now time good\nmen come aid of country."
if gui breaking line before point need disable word wrapping somehow.
Comments
Post a Comment