PHP Classes

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

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 353 All time: 6,976 This week: 673Up
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

  Files folder image Files (2)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:353
This week:0
All time:6,976
This week:673Up