Split a html string in N parts
- by Matt Brailsford
Hi Guys,
Does anybody have an example of spliting a html string (coming from a tiny mce editor) and splitting it into N parts using C#?
I need to split the string evenly without splitting words.
I was thinking of just splitting the html and using the HtmlAgilityPack to try and fix the broken tags. Though I'm not sure how to find the split point, as Ideally it should be based purley on the text rather than the html aswell.
Anybody got any ideas on how to go about this?
Many thanks
Matt