PHP Classes
elePHPant
Icontem

TString: Manipulate string values

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2009-04-08 (7 years ago) RSS 2.0 feedNot enough user ratingsTotal: 419 All time: 6,081 This week: 1,168Up
Version License PHP version Categories
tstring 0.1GNU General Publi...5.0PHP 5, Text processing, Data types
Description Author

This class can be used to manipulate string values.

It encapsulates several types of operations that manipulate string values by the means of a fluent interface.

Currently it can concatenate an array of strings, change the case of the string words, split the string in pieces separated by another given string, find a given sub-string, pad the string with characters to fill a given length, extract a sub-string. insert a sub-string in a given position. replace sub-strings, trim the string, etc..


Annotation:
>> TypeSafeStruct (v0.2)
Once if have completed the list of ValueTypes, then TString will be used for database queries working as in C#.
A TypeSafeStruct Model replaces the stdClass Object in the i.e. mysql_fetch_object command. By this method, all query objects will own the ValueType specific methods while returning the result set.

TypeSafeStruct DataTypes:
- TString (published)
- TNumber (pending)
- TBit (in progress)
- TArray (in progress)
- TObject (in progress)
- TEnum (in progress)

Picture of Tom Schaefer
  Performance   Level  
Name: Tom Schaefer <contact>
Classes: 39 packages by
Country: Germany Germany
Innovation award
Innovation award
Nominee: 9x

Winner: 1x

  Files folder image Files  
File Role Description
Plain text file String.class.php Class String Class

 Version Control Reuses Unique User Downloads Download Rankings  
 0%1
Total:419
This week:0
All time:6,081
This week:1,168Up
User Comments (1)