Hello All, I was wondering if there is any inherent function to do case fixing. For example:
Original text: BLAH bLaH BLAh
Fixed text: Blah Blah Blah
Thanks
$test = "BLaH blah BLAH blah BLAH"; $test = strtolower($test); $test = ucwords($test); echo $test;
That should work just fine. 🙂
strtolower() makes everything ALL lowercase, and ucwords() makes each letter of each word uppercase. 🙂
Awesome, thanks, that's exactly what I was looking for.