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.
If you want numbers included (and by "symbols" most everything else), then what you are actually trying to test for is the absence of lowercase letters: