PHP Classes
elePHPant
Icontem

PHP String Functions: Wrapper class to treat strings as object

Recommend this page to a friend!
  Info   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2019-05-12 (3 hours ago) RSS 2.0 feedNot enough user ratingsTotal: 232 All time: 7,881 This week: 501Up
Version License PHP version Categories
php-string-functions 13MIT/X Consortium ...5.3PHP 5, Text processing, Data types
Description Author

This package is a wrapper class to treat strings as object.

It can take a given string value with optional start offset and length to take it as the string initial value.

It provides functions to perform several types of operations on the string like:

- Get the character and its code at a given string position
- Compare with a given string optionally ignoring the case
- Concatenate the string with one or more other strings
- Check if the string contains or ends with another given string
- Format the string using sprintf
- Creates a new string with a character with a given code
- Get the position of the first or the last occurrence of a given text inside the string optionally ignoring the case
- Create a new string object joining elements of an array separated with a given delimiter character
- Match the string with regular expressions
- Pad the string with given character at the beginning or end of the string
- Etc..

Name: Michael Scribellito <contact>
Classes: 1 package by
Country: United States United States

  Files folder image Files  
File Role Description
Files folder imagesrc (2 files)
Files folder imagetests (1 file)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file phpunit.xml Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  src  
File Role Description
  Accessible without login Plain text file helper.php Example Example script
  Plain text file Str.php Class Class source

  Files folder image Files  /  tests  
File Role Description
  Accessible without login Plain text file StrTest.php Test Unit test script

 Version Control Unique User Downloads Download Rankings  
 100%
Total:232
This week:0
All time:7,881
This week:501Up