Hi Guys,
I have a richtextbox control on my form which is populated with a HTML page source. My question is, how can i remove certain lines from the richtextbox
Thanks
Martin Tuncaydin
Hi Guys,
I have a richtextbox control on my form which is populated with a HTML page source. My question is, how can i remove certain lines from the richtextbox
Thanks
Martin Tuncaydin
Removing line/lines from a richTextBox Control
J34
I dont exactly get what you mean by 'certain lines' but you sure can remove stuff using this technique:
textbox.Text = textbox.Text.Replace("The line you want","");
this will replace the string you've given in the first parameter with an empty string and hence will remove only that text from the textbox which you've supplied.
Hope it helps!
Stas Kravets
Many thanks for your reply.