I have snippets of Html stored in a table. Not entire pages, no tags or the like, just basic formatting.
I would like to be able to display that Html as text only, no formatting, on a given page (actually just the first 30 - 50 characters but that's the easy bit).
How do I place the "text" within that Html into a string as straight text?
So this piece of code.
<b>Hello World.</b><br/><p><i>Is there anyone out there?</i><p>
Becomes:
Hello World. Is there anyone out there?
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…