PHP Classes

Misc String: Manipulate Unicode and unencoded strings

Recommend this page to a friend!
  Info   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 946 This week: 1All time: 3,798 This week: 560Up
Version License Categories
miscstring 1.0BSD LicenseText processing
Description 

Author

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..

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
Picture of Ve Bailovity
Name: Ve Bailovity <contact>
Classes: 5 packages by
Country: ???
Age: 43
All time rank: 505
Week rank: 411 Up
Innovation award
Innovation award
Nominee: 4x

  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 folder image Files  /  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 folder image Files  /  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

 Version Control Unique User Downloads Download Rankings  
 0%
Total:946
This week:1
All time:3,798
This week:560Up