In the examples below we have a long string with carious cap cases, as well as an example simulationg a user putting characters into a username i nput field. We will use these examples to run string functions on them to see how they are parsed
$username = " jdoe "
the quick brown fox jumps over the lazy dog.
THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG.
The QUICK brown fox jumps over the LAZY dog.
The QUICK Brown Fox Jumps Over The LAZY Dog.
fox jumps over the LAZY dog.
the QUICK brown fox jumps over the LAZY cat.
pretags to see whitespace - trim()