note 35715 added to function.is-string

From: Date: Thu, 11 Sep 2003 23:20:42 +0000
Subject: note 35715 added to function.is-string
Groups: php.notes 
Request: Send a blank email to php-notes+get-56281@lists.php.net to get a copy of this message
function is_upper($input) { return ($input == strtoupper($input)); } function is_lower($input) { return ($input == strtolower($input)); } this functions check if a string is all upper/lower case. input: string output: true/false ---- Manual Page -- http://www.php.net/manual/en/function.is-string.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35715 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35715&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35715&report=yes

« previous php.notes (#56281) next »