Login   Register  
PHP Classes
elePHPant
Icontem

Class: Misc String

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Ve Bailovity  >  Misc String  >  Download .tar.gz .zip  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Misc String
Base name: miscstring
Description: Manipulate Unicode and unencoded strings
Related classes: , , ,
Version: -
PHP version: -
License: BSD License
All time users: 900 users
All time rank: 3207
Week users: 0 users
Week rank: 2507
Picture of Ve Bailovity
Author: Ve Bailovity <e-mail contact>
Packages: 5 Browse this author's classes Browse this author's classes
Country: Serbia and Montenegro Serbia and Montenegro - PHP jobs in Serbia and Montenegro
Age: 31
All time rank: 4432 in Serbia and Montenegro Serbia and Montenegro
Week rank: 601 Down2 in Serbia and Montenegro Serbia and Montenegro Equal
Innovation award
Innovation award
Nominee: 4x


  Detailed description  
This package can be use to perform several types of manipulation operations on UTF-8 encoded and unencoded strings.

There are several classes:

a) One to compute the length and extract parts of a string encoded in UTF-8. It uses PCRE extension functions, so it does not rely on multi-byte string manipulation extension.

b) Another class to perform white space normalization functions like: mapping any line break sequences to simple line breaks, reduce multiple space or line break sequences to only one, convert tabs to spaces and vice-versa, etc..

c) Another to perform letter case normalization functions like: convert strings to camel case words and vice-versa, or words separated by underscore characters, etc..

 

  Groups  
Group folder image Text processing Manipulating and validating text data View top rated classes

  Rate classes User ratings   Applications   Files Files  

  Innovation Award  
PHP Programming Innovation award nominee
November 2006
Number 3
Built-in Unicode support is one of the features promised for PHP 6.

Earlier PHP versions can manipulate Unicode strings using the multi-byte string extension. However, this extension is not always available in every PHP installation.

This class implements a clever alternative to manipulate Unicode text encoded as UTF-8. It uses the PCRE extension PHP functions.

This extension can perform regular expression manipulation functions on UTF-8 strings and is available since PHP 3.

Manuel Lemos

  User ratings  
Not yet rated by the users

  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
Files folder imagedoc (2 files)
Files folder imageexample (3 files)
Plain text file miscstring.php Class Main library file

  Files  /  Files folder image doc  
File Role Description
  Accessible without login HTML file documentation.html Doc. Generated documentation
  Accessible without login Plain text file README Doc. Read this first

  Files  /  Files folder image example  
File Role Description
  Accessible without login Plain text file normal.php Example Example usage
  Accessible without login Plain text file unicode.php Example Example usage
  Accessible without login Plain text file whitespace.php Example Example usage

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