How to remove white spaces from richtextbox
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.