PHP Classes

Text Helper Class: Perform several types of text processing operation

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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 (7 years ago) RSS 2.0 feedNot enough user ratingsTotal: 412 All time: 6,008 This week: 1,153Up
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
Age: 28
All time rank: 16809 in Hong Kong Hong Kong
Week rank: 638 Up4 in Hong Kong Hong Kong Up
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:412All time:6,008
 This week:0This week:1,153Up