How to convert standard text to StUdLy CaPs / sTiCkY cApS with php?

Try using a random number generator while iterating over the contents of a string, in order to determine if a character gets capitalized. It's just a few lines. Here's some pseudocode:

for each character in string
...if random number > predefined size
......current character = uppercase of current character

It's that simple. I hope this helps.
 
Back
Top