Login   Register  
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

  Author Author  
Picture of Tom Schaefer
Name: Tom Schaefer is available for providing paid consulting. Contact Tom Schaefer .
Packages: 39 Browse all classes by Tom Schaefer Browse all classes by
Country: Germany Germany - PHP jobs in Germany
Age: ???
All time rank: 1119 in Germany Germany
Week rank: 102 Up4 in Germany Germany Up
Innovation award
Innovation award
Nominee: 9x

Winner: 1x


  Detailed description   Download Download .zip .tar.gz  
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)

  Classes of Tom Schaefer  >  TString  >  Download Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: TString
Base name: tstring
Description: Manipulate string values
Version: 0.1
PHP version: 5.0
License: GNU General Public License (GPL)
All time users: 411 users
All time rank: 5699
Week users: 0 users
Week rank: 1815 Equal
 
  Groups   Rate classes User ratings   Dependents   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Text processing Manipulating and validating text data View top rated classes
Group folder image Data types Modeling and manipulating data types View top rated classes


  User ratings  
There are not enough user ratings to display for this class.

  Packages that need this class  
Class Dependency Why it is needed
TypeSafeStruct Optional since v0.2 TSS will support ValueType Objects. TString is the first kind of value type.

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file String.class.php Class String Class

Download Download all files: tstring.tar.gz tstring.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.