STR_ISUPPER
Use the STR_ISUPPER script function to check whether all characters of a specified string are written in uppercase letters. Special characters and numbers that might be used within the string are ignored. You can define the string directly by using single or double quotes, or use a script variable for this purpose.
Syntax
STR_ISUPPER (String)
Parameters
- 
                                                STR_ISUPPER 
 Checks whether the characters of a certain string are written in uppercase letters
- 
                                                String 
 An alphanumeric string
 Format: script literal or script variable
Return codes
- 
                                                Y 
 All characters of the string are written in uppercase letters
- 
                                                N 
 The string does either not include letters or at least one lowercase letter
Examples
The following example reads an entry of a VARA object and verifies that it is written in uppercase letters.
:SET &VAR# = GET_VAR(VARA.DB, "TEST", 1) 
                                            
:SET &CHECK# = STR_ISUPPER(&VAR#) 
                                            
:IF &CHECK# EQ "Y" 
                                            
: P "STR_ISUPPER(&VAR#) = Y" 
                                            
:ENDIF
                                        
See also: