What\'s the best way to see if a string contains all capital letters? I still want the function to return true if the string also contains symbols or numbers.
This is how I handle ALL CAPS text for my comments section.
if ($str == strtoupper($str)) { $str = ucfirst(strtolower($str)); }