Login   Register  
PHP Classes
elePHPant
Icontem

Text Helper Class: Perform several types of text processing operation

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2008-06-28 (6 years ago) RSS 2.0 feedNot enough user ratingsTotal: 404 All time: 5,883 This week: 1,529Up
Version License PHP version Categories  
text 1.0GNU General Public Lice...4.4Text processing
Description Author  

This class can be used to perform several types of text processing operations. It can:

- Capitalize the first letter of all words of string
- Count the number of non-whitespace characters, words, sentences in a string
- Encode strings for displaying as HTML, in URLs, escaping quotes, as hexadecimal, as Javascript strings, and obfuscate e-mail addresses
- Exclude given words from a string
- Highlight PHP code
- Indent strings
- Limit the length of a string in number or words or characters
- Strip consecutive whitespace characters
- Word wrap strings

Picture of Chris Lam
Name: Chris Lam <contact>
Classes: 3 packages by
Country: Hong Kong Hong Kong
Age: 27
All time rank: 16499 in Hong Kong Hong Kong
Week rank: 1790 Down9 in Hong Kong Hong Kong Equal
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example class usage example
Plain text file Text.class.php Class The main class

 Version Control Unique User Downloads Download Rankings  
 0%Total:404All time:5,883
 This week:0This week:1,529Up