Text processing: Lucky Strike
BrainX (contact me)
This class can be used to generate and manipulate random text strings.
It can generate random text strings based on a specification format that determines whether the string should lower or upper case vowels and consonant letters, and even or odd numbers.
It can also pick a random text or number from an array, or a semi-random value from the array, i.e. the randomization seed is calculated from an input text string.
The class may also perform text analysis functions like mapping an input text to another string that defines the kind of characters it contains: consonants or vowels.
It can also perform a numerology calculation by returning a number based on the characters used on an input text string.
Click here for detailed information about this class on phpclasses.org