I am trying to split an html string into two substrings of particular length in C#. In the process the start and end html tags are missing in the substrings. I want to append those missing tags in substrings to preserve the format of the text. Any help is greatly appreciated.
string testHTML = "<p> This is a <b><u>html test</u></b> string.</p>"
if i want to split this as "<p> This is a <b><u>html " and "test</u></b> string.</p>". the format will be lost if I display in two separate labels. Please help..
Thanks in Advance