Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
Display first 1000 words from a long string (Stripping HTML)
Churchill A
Jul 3 2010 7:53 AM
2.5k
Reply
Hi all,
I have a field in my database that holds input from an html input. So I have <tags> in my db column data. What I need is to be able to extract this and display a short version of it as an intro. Maybe even the first paragraph if possible.
I downloaded the Html Agility Pack for purposes of cleaning up html so now all I need is a function to count and return only the first 1000 words.
Thanks.
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
Cross Application page redirecting
Filling xml file with tables from database