isUpper

isUpper(): Boolean;

The isUpper method of the Character primitive type returns true if the receiver represents an uppercase letter for the current language setting.

The code fragment in the following example shows the use of the isUpper method.

// Check the first character is an uppercase letter
if not theName[1].Character.isUpper then
    app.beep;
    statusLine.caption := "Error - The name must begin with an uppercase
                           letter";
    stringName.setFocus;
    return;
endif;