PHP Classes
elePHPant
Icontem

Permutation Lower Upper: Generate permutations of chars (capital and not)

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2005-12-17 (9 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 349 All time: 6,415 This week: 1,125Up
Version License Categories  
permutationlu 1.0GNU General Publi...Text processing
Description Author  

This class can generate modified versions of a string by permuting its characters using all combinations of lower and upper case of the letters.

For instance, from a string "ab" the class generates the permutations "ab","Ab","aB","AB" .

This class can be useful when it is necessary to manipulate or change parts of a text string to use with functions that works with regular expressions such as preg_match_all and preg_match and after str_replace.

Picture of arcangelo
Name: arcangelo <contact>
Classes: 1 package by
Country: Italy Italy
Age: ???
All time rank: 3360135 in Italy Italy
Week rank: 1541 Up68 in Italy Italy Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example example of use of PermutationLowerUpper - Version 0.1
Plain text file PermutationLowerUpper.php Class class

 Version Control Unique User Downloads Download Rankings  
 0%Total:349All time:6,415
 This week:0This week:1,125Up