Retrieve a Portion of Long Text

Often, I need to get the first few sentances of a long article or post to display as summary. Things to consider include not cutting off any partial words; add … if there is more; make sure html tags are stripped off otherwise we might bury an openning tag in the summary and that will screw up the […]

Read the rest of Retrieve a Portion of Long Text