Strip HTML
Posted: Wed Jan 31, 2007 2:16 pm
Hi guys,
I am developing a function that is supposed to print output taken from a database and I ned to count characters without HTML. I mean that if I have this string:
I need to count "Hello"+"I am"+"here".
I am developing a function that is supposed to print output taken from a database and I ned to count characters without HTML. I mean that if I have this string:
Code: Select all
<b>Hello</b><br />I am <br /> <img src="..."> here.<br />