PHP » PYTHON |
login |
register |
about
|
PYTHON ctype_upper
is this article helpful?
|
Python replacement for PHP's ctype_upper
[
edit
| history
]
text.isupper() ctype_upper(PHP 4 >= 4.0.4, PHP 5) ctype_upper — Check for uppercase character(s) Description
bool ctype_upper
( string $text
)
Checks if all of the characters in the provided string, text , are uppercase characters. Parameters
Return ValuesReturns TRUE if every character in text is an uppercase letter in the current locale. Examples
Example #1 A ctype_upper() example (using the default locale)
<?php The above example will output: The string AKLWC139 does not consist of all uppercase letters. The string LMNSDO consists of all uppercase letters. The string akwSKWsm does not consist of all uppercase letters.
See Also
|
more
Recently updated
more
Most requested
more
Last requests
|