| Recommend this page to a friend! |
| Author | ||
![]() |
|
Innovation award![]() Nominee: 1x Winner: 1x | |||||||||||||||||||
| Classes of prajwala | > | Cut HTML string | > | Download .zip .tar.gz | > | > | > | |||||
|
|||||||||||||||||||||||
| Groups | Applications | Related links | ||||||||
| Groups | ||
| HTML | HTML generation and processing | View top rated classes | |
| PHP 5 | Classes using PHP 5 specific features | View top rated classes | |
| Text processing | Manipulating and validating text data | View top rated classes |
| Innovation Award | ||
![]() May 2009 Winner Prize: One downloadable e-book of choice by O'Reilly |
In PHP, it is easy to extract an excerpt of a text string with a given length limit. But if you want to extract an excerpt from HTML, the tags that may exist in the text string make it more complicated. This class provides a solution to extract excerpts from HTML documents with a given text length limit without counting the length of any HTML tags. Manuel Lemos |
| User ratings | ||
| Ratings | ||||||||
|---|---|---|---|---|---|---|---|---|
| All time: | ||||||||
| Month: | ||||||||
| Applications that use this class | ||
| Related links | ||
| Link | Description |
|---|---|
| Documentation | Documentation |
| Download all files: cut-html-string.tar.gz cut-html-string.zip |