i am new in window apllication c#. when i load rtf file in richtextbox control with every new paragraph with
and <\p>.
i have done this..but can't remove whitespace.
he show with blankspace
<\p>.
like..there is five paragraph in file.
aaaaaaaaaaaaaaaaaaaaaaaaaa<\p>
<\p>
<\p>
aaaaaaaaaaaaaaaaaaaaaaaaaa<\p>
aaaaaaaaaaaaaaaaaaaaaaaaaa<\p>
here, i want to remove two blanckspaces..
Plz,help me.
amit kumarPosted Nov 5, 2008, 2:18 AM
there is a condition to use every paragraph with
and <\p>.
i have done it and remove blank space...
Blocked AccountPosted Nov 5, 2008, 2:04 AM
Hi,
If there is nothing in the paragraph then why r u using the paragraph tag. because
tag takes some space. remove this paragraph tag.we use trim function for removing the white space in C#.