PHP Classes

String: Encapsulation of string manipulation functions

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 839 All time: 4,141 This week: 673Up
Version License PHP version Categories
string 1.0GNU Lesser Genera...5.0PHP 5, Text processing, Data types
Description 

Author

This class encapsulates many string manipulation functions.

Currently in implements the following functions:

- stripSpaces
- stripSpacesBefore
- stripSpacesAfter
- concat
- contain
- find
- replace
- eregReplace
- charAt
- subString
- cut
- toURL
- htmlEncode
- htmlDecode
- htmlEncodeWords
- stripTags
- removeSlashes
- upperCase
- upperCaseWords
- upperCaseFirst
- lowerCase
- undo
- redo
- clean
- nl2br
- br2nl
- getString
- setString
- getValue
- setValue
- __toString
- toXml

Picture of Diogo Souza da Silva
Name: Diogo Souza da Silva <contact>
Classes: 4 packages by
Country: Brazil Brazil
Innovation award
Innovation award
Nominee: 2x

 

  Files folder image Files (2)  
File Role Description
Accessible without login Plain text file String.test.php Example Examples and tests
Plain text file String.class.php Class String class

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:839
This week:0
All time:4,141
This week:673Up
User Comments (1)
what the use of this class?
17 years ago (yves)
22%StarStar