2
Reply

How to remove white spaces from richtextbox

amit kumar

amit kumar

Nov 5 2008 1:29 AM
6.5k
hello all,


i am new in window apllication c#. when i load rtf file in richtextbox control with every new paragraph with <p> and <\p>.
i have done this..but can't remove whitespace.
he show with blankspace<p><\p>.

like..there is five paragraph in file.
<p>aaaaaaaaaaaaaaaaaaaaaaaaaa<\p>
<p><\p>
<p><\p>
<p>aaaaaaaaaaaaaaaaaaaaaaaaaa<\p>
<p>aaaaaaaaaaaaaaaaaaaaaaaaaa<\p>

here, i want to remove two blanckspaces..
Plz,help me.

Answers (2)