Login   Register  
PHP Classes
elePHPant
Icontem

Misc String: Manipulate Unicode and unencoded strings

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Ve Bailovity
Name: Ve Bailovity <e-mail contact>
Packages: 5 Browse all classes by Ve Bailovity Browse all classes by
Country: Serbia and Montenegro Serbia and Montenegro - PHP jobs in Serbia and Montenegro
Age: 33
All time rank: 4632 in Serbia and Montenegro Serbia and Montenegro
Week rank: 1316 Down4 in Serbia and Montenegro Serbia and Montenegro Down
Innovation award
Innovation award
Nominee: 4x


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

  Classes of Ve Bailovity  >  Misc String  >  Download Download .zip .tar.gz  >  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
Version: -
PHP version: -
License: BSD License
All time users: 936 users
All time rank: 3482
Week users: 0 users
Week rank: 1960 Equal
 
  Groups   Rate classes User ratings   Applications   Files Files  

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


  Innovation Award  
PHP Programming Innovation award nominee
November 2006
Number 3

Prize: One book of choice by O'Reilly
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 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.