| Recommend this page to a friend! |
| Author | ||
![]() |
|
Innovation award![]() Nominee: 2x | |||||||||||||||||||
| Classes of Tony | > | Text Fit | > | Download .zip .tar.gz | > | > | > | |||||
|
|||||||||||||||||||||||
| Groups | Applications | |||||||||
| Groups | ||
| 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 | ||
![]() December 2012 Number 3 Prize: One downloadable copy of PhpED Professional |
Sometimes it is necessary to limit the length of text to be displayed in certain circumstances. That is the case of text in e-mail messages or file names. This class provides a solution to truncate text in a way that it does not cut words in the middle. It can also shorten file names in a way that they do not exceed a certain limit, but still keep the file extension at the end of the file name. Manuel Lemos |
| User ratings | ||
| There are not enough user ratings to display for this class. |
| Applications that use this class | ||
| File | Role | Description |
|---|---|---|
| Class | TextFit class | |
| Example | Example script | |
| Doc. | Usage information | |
| Lic. | License information |
| Download all files: text-fit.tar.gz text-fit.zip |