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

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -