From WikiChip
Difference between revisions of "mirc/identifiers/$isupper"
(Created page with " {{mirc title|$isupper Identifier}}'''$isupper(text)''' Returns $true if text is all upper case otherwise returns $false. == Synopsis == <source lang="mIRC"> $isupper(text)<...") |
m |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{mirc title|$isupper Identifier}}'''$isupper''' returns $true if text is all upper case, otherwise returns $false. | ||
− | |||
− | |||
== Synopsis == | == Synopsis == | ||
Line 9: | Line 8: | ||
== Paramters == | == Paramters == | ||
− | ''' | + | '''text''' - The string to be checked |
== Properties == | == Properties == | ||
Line 18: | Line 17: | ||
<source lang="mIRC">//echo -a $isupper(ABCDEFG)</source> | <source lang="mIRC">//echo -a $isupper(ABCDEFG)</source> | ||
− | + | will return '''$true''' | |
− | <source lang="mIRC">//echo -a $ | + | <source lang="mIRC">//echo -a $isupper(ABCDEFg)</source> |
− | + | will return '''$false''' because not all character are upper case. | |
== Compatibility == | == Compatibility == | ||
{{mIRC compatibility|5.61}} | {{mIRC compatibility|5.61}} | ||
− | == See | + | == See also == |
− | |||
* {{mIRC|$islower}} | * {{mIRC|$islower}} | ||
* {{mIRC|$true}} | * {{mIRC|$true}} | ||
* {{mIRC|$false}} | * {{mIRC|$false}} | ||
+ | {{mIRC identifier list}} | ||
+ | [[Category:mIRC identifiers|isupper]] |
Latest revision as of 15:35, 20 September 2017
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$isupper returns $true if text is all upper case, otherwise returns $false.
Synopsis[edit]
$isupper(text)
Paramters[edit]
text - The string to be checked
Properties[edit]
None
Example[edit]
//echo -a $isupper(ABCDEFG)
will return $true
//echo -a $isupper(ABCDEFg)
will return $false because not all character are upper case.
Compatibility[edit]
Added: mIRC v5.61
Added on: 23 Sep 1999
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.
See also[edit]
mIRC identifier list