IS_ALL_UPPER_CASE

Description

Returns TRUE if the string contains only uppercase letters; 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.

Tips

  • Returns FALSE if the string is empty.

  • Only uppercase letters are accepted; any lowercase letters, numbers, spaces, or symbols will result in FALSE.