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)<...") |
|||
Line 1: | Line 1: | ||
− | {{mirc title|$isupper Identifier}}'''$isupper | + | {{mirc title|$isupper Identifier}}'''$isupper''' returns $true if text is all upper case, otherwise returns $false. |
== Synopsis == | == Synopsis == | ||
Line 9: | Line 9: | ||
== Paramters == | == Paramters == | ||
− | ''' | + | '''text''' - The string to be checked |
== Properties == | == Properties == | ||
Line 18: | Line 18: | ||
<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 == |
Revision as of 13:23, 12 June 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
$isupper(text)
Paramters
text - The string to be checked
Properties
None
Example
//echo -a $isupper(ABCDEFG)
will return $true
//echo -a $isupper(ABCDEFg)
will return $false because not all character are upper case.
Compatibility
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.