Login   Register  
PHP Classes
elePHPant
Icontem

class.strings.php: String manipulation functions

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 (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2004-08-16 (10 years ago) RSS 2.0 feedStarStarStar 48%Total: 4,624 All time: 549 This week: 858Down
Version License Categories  
strings 1.0Free for non-commercial...Text processing
Description Author  

A collection of string related functions. These functions work on strings, arrays of strings (any depth). Methods include:

validateString()
validateArray()
validateEmail()
convertSymbolsToEntities()
convertTextToHTML()
trimStringToLength()
trimWordFromString()
trimFirstWordFromString()
trimLastWordFromString()
trimString()
trimStringLeft()
trimStringRight()
addSlashesToString()
trimSlashesFromString()
processFunction()
getOrdinalString()
getPluralString()
trimNewlinesFromString()
trimCarriageReturnsFromString()
getFileExtension()
getFileName()
getFileSize()
countWords()
countSentences()
countParagraphs()
getStringInformation()

Full documentation of these methods can be found within the class comments.

Picture of Andrew Collington
Name: Andrew Collington <contact>
Classes: 13 packages by
Country: United Kingdom United Kingdom
Age: 40
All time rank: 514 in United Kingdom United Kingdom
Week rank: 1125 Down44 in United Kingdom United Kingdom Down

  Files folder image Files  
File Role Description
Plain text file class.strings.php Class The string functions class

 Version Control Unique User Downloads Download Rankings  
 0%Total:4,624All time:549
 This week:0This week:858Down
User Ratings User Comments (1)  
 All time
Utility:81%StarStarStarStarStar
Consistency:81%StarStarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:48%StarStarStar
Rank:1710