IS_ALL_UPPER_CASE

Description

Returns TRUE if the string contains only uppercase alphabetical characters; otherwise, returns FALSE.

Syntax

IS_ALL_UPPER_CASE(string) -> Boolean

Parameters

ParameterData TypeRequiredDescription
stringStringYesThe string to evaluate.

Examples

IS_ALL_UPPER_CASE("STATUSOK")
-- Returns TRUE.
IS_ALL_UPPER_CASE("Device #01")
-- Returns FALSE, only uppercase letters A–Z are accepted.

Tips

  • Returns FALSE if the string is empty.

  • Only uppercase letters (A–Z) are accepted; any lowercase letters, numbers, spaces, or symbols will result in FALSE.