PHP Classes

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    
Ratings Unique User Downloads Download Rankings
StarStarStar 58%Total: 417 This week: 1All time: 6,420 This week: 560Up
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: 36
All time rank: 17538 in Hong Kong Hong Kong
Week rank: 411 Up1 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:417
This week:1
All time:6,420
This week:560Up
 User Ratings  
 
 All time
Utility:83%StarStarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:-
Examples:83%StarStarStarStarStar
Tests:-
Videos:-
Overall:58%StarStarStar
Rank:1442