On Friday 13 August 2004 05:32, C.F. Scheidecker Antunes wrote: > I need to check if there are any upper case letters on a given string. > There can be one or more letters that might be upper case on a given > string no matter their position within the string. > > Is there any way to check for it? > > obs: I do not want to convert to lowercase, but to check for the > presence of upper case letters.
if ($doo === strtolower($doo)) { // no upper case } -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* Too much is just enough. -- Mark Twain, on whiskey */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php