IsUpper()

<< Click to Display Table of Contents >>

Navigation:  Available Functions >

IsUpper()

Syntax

IsUpper( <CharacterValue> )

 

Purpose

To determine if leftmost character in a character value is an upper case letter. It is the inverse of the IsLower() function which determines whether a character begins with a lower case letter.

 

Both IsLower() and IsUpper() relate to the Lower() and Upper() functions which actually convert lowercase characters to uppercase, and vice versa.

 

Parameters

<CharacterValue> is the value to examine.

 

Returns

IsUpper() returns a true/false (logical) value.

 

Usage

Because IsUpper() returns a logical value, it is best suited for use with selections, not reports.

 

Example

The following examples illustrate IsUpper():

 

CALL

RESULT

IsUpper("AbCdE")

True

IsUpper("aBCdE")

False

IsUpper("$abcd")

False

IsUpper("8ABCD")

False