PHP Read More: Cut a text to be displayed partially up to a limit

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 98 All time: 9,483 This week: 318Up
Version License PHP version Categories
php-read-more-class 1.0MIT/X Consortium ...5PHP 5, Text processing
Description Author

This is a very simple class that can cut a text to be displayed partially up to a limit.

It can take a string, a start position and limit length to cut and returns part of a string if its length exceeds the given limit. Otherwise the class returns the whole string.

Picture of Muhammad Umer Farooq
Name: Muhammad Umer Farooq <contact>
Classes: 46 packages by
Country: Pakistan Pakistan
Innovation award
Innovation award
Nominee: 4x

  Files folder image Files  
File Role Description
Files folder imageclasses (1 file)
Accessible without login Plain text file example.php Example Example script

  Files folder image Files  /  classes  
File Role Description
  Plain text file ReadMore.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:98
This week:0
All time:9,483
This week:318Up
User Comments (2)
 

For more information send a message to info at phpclasses dot org.