Text UtilitiesLesson 115Free preview
Randomize Case
This lesson is part of Web Developer Tools · All levels
Summary
Randomize cases randomly change up capital letters and lower case letters in a text, usually for a casual writing style on social media. Each letter of the alphabet is chosen at random, while spaces and punctuations remain in place. The result is different every time it's run so it can't be used as a stable value. This feature only changes the look and doesn't add to the security of the data.
Key points
- Only the letters changed, spaces and punctuation fixed
- Random sources determine each letter to be large or small
- The results may vary with each execution
- For security use a random cryptographic generator
- Don't use it to disguise sensitive data
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.