PHP Classes
elePHPant
Icontem

TString: Manipulate string values

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  
2009-04-08 (6 years ago) RSS 2.0 feedNot enough user ratingsTotal: 418 All time: 5,876 This week: 1,318Up
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
Name: Tom Schaefer is available for providing paid consulting. Contact Tom Schaefer .
Classes: 39 packages by
Country: Germany Germany
Age: ???
All time rank: 1109 in Germany Germany
Week rank: 113 Down3 in Germany Germany Up
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%1Total:418All time:5,876
 This week:0This week:1,318Up
 User Comments (1)