I'm amazed that I can't figure this out or find a function...but I need to find out how to test a string for caps letters. I have to display different output based on a character being caps or not.
For instance
$test = cAps
if ($test[0] IS CAPS) { }
if ($test[1] IS CAPS) { }
if ($test[2] IS CAPS) { }
etc.
Any ideas? What am I missing?
Thanks so much!