From WikiChip
Difference between revisions of "mirc/identifiers/$isupper"
< mirc‎ | identifiers

(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(text)''' Returns $true if text is all upper case otherwise returns $false.
+
{{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''' = ''Will be the given text that you want to check for.''
+
'''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>
  
It will return '''$true''' because it's the hole given text in upper case.
+
will return '''$true'''
  
<source lang="mIRC">//echo -a $islower(ABCDEFg)</source>
+
<source lang="mIRC">//echo -a $isupper(ABCDEFg)</source>
  
It will return '''$false''' because it's ''NOT'' the hole given text in upper case.
+
will return '''$false''' because not all character are upper case.
  
 
== Compatibility ==
 
== Compatibility ==

Revision as of 13:23, 12 June 2017


$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.


See Also