PHP Classes
elePHPant
Icontem

Text Helper Class: Perform several types of text processing operation

Recommend this page to a friend!
  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 (8 years ago) RSS 2.0 feedNot enough user ratingsTotal: 414 All time: 6,114 This week: 904Up
Version License PHP version Categories
text 1.0GNU General Publi...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
  Performance   Level  
Name: Chris Lam <contact>
Classes: 3 packages by
Country: Hong Kong Hong Kong
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:414
This week:0
All time:6,114
This week:904Up