Hi,
I want to pull a large bit of text from the database strip all the html from the text and then limit it to 200 chars. I can limit it to 200 chars no problem using substring but if the text contains a html tag like <em> and the </em> is not contaied within the 200 chars then the rest of the page is in italic. any ideas how to solve this problem?
thanks for your time
jimmy
I want to pull a large bit of text from the database strip all the html from the text and then limit it to 200 chars. I can limit it to 200 chars no problem using substring but if the text contains a html tag like <em> and the </em> is not contaied within the 200 chars then the rest of the page is in italic. any ideas how to solve this problem?
thanks for your time
jimmy