Click here to Skip to main content
15,895,256 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
currently text showed here like

Quotes from Industry, Research, & Technology Analysts on Ultima
te

but i want to show this in same line means when it will check connected word then break that

want to show like

Quotes from Industry, Research, & Technology Analysts on
Ultimate
Posted
Updated 28-May-15 20:28pm
v2
Comments
Sergey Alexandrovich Kryukov 29-May-15 2:04am    
Not clear at all and does not seem to make any sense. Do you understand yourself what you say?
—SA
Member 11311262 29-May-15 2:25am    
currently text showed her like

Quotes from Industry, Research, & Technology Analysts on Ultima
te

want to show like

Quotes from Industry, Research, & Technology Analysts on
Ultimate
Abhipal Singh 29-May-15 2:35am    
This is not clear as well. Can you please elaborate your example.
Member 11311262 29-May-15 2:43am    
i have text on my website
"Quotes from Industry, Research, & Technology Analysts on Ultima
te"

test is showing like above in quotes,but now i want to replace string like
"Quotes from Industry, Research, & Technology Analysts on
Ultimate"
Abhipal Singh 29-May-15 3:31am    
On which UI control this issue is occuring?
what is your presentation system (windows, WPF, ASP, etc)?
Or are you using console to display this string?

1 solution

There is a detail solution outlined here[^]. You can tweak these solutions as well on your own need.

Another great link here Implementing Word Wrap in C#[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900