hello, i was wondering if there is a php function or way that will allow me to check for the case of a letter of a string...
i am hoping for something like:
$string = 'Test';
if ( isuppercase($string{3}) ) { TRUE } else { FALSE }
which would return FALSE for $string{3} and TRUE for $string{0}
I have written this:
if ( $array[$i] == strtoupper($array[$i]) ) {
$folder = 'uc';
} else {
$folder = 'lc';
}
which works, I was just wondering if there is a function in the manual that I missed...