Function Reference

StringIsUpper

Checks if a string contains only uppercase characters.

StringIsUpper ( "string" )

 

Parameters

string The string to check

 

Return Value

Success: Returns 1.
Failure: Returns 0 if string contains non-uppercase characters.

 

Remarks

Note that digits/punctuation/whitespace will cause StringIsUpper to return 0.

 

Related

StringIsAlNum, StringIsAlpha, StringIsASCII, StringIsDigit, StringIsLower, StringIsSpace, StringIsXDigit, StringUpper, StringLower

 

Example


If StringIsInt("ABCDF") Then
    MsgBox(4096,"", "String contains only UPPERCASE letters"
EndIf