Script Function: Checks whether the characters of a string are written in lowercase letters.
STR_ISLOWER(String)
Syntax |
Description/Format |
---|---|
String |
An alpha-numeric string. |
Return Codes |
---|
"Y" = All characters of the string are written in lowercase letters. |
This scriptA particular Automation Engine object type. functionPre-defined run book template in the Automation Engine. One single step only, e.g. Start Windows Service, Copy file,… checks whether all characters of a specified string are written in lowercase letters. Special characters and numbers that might be used within the string are ignored. You can either define the string directly (by using single or double quotes) or use a script variableA placeholder for a value within a script. for this purpose.
"N" will be returned when the string includes at least one uppercase letter or no letters at all. "Y" will be returned when all letters of the string are lowercase letters.
The following example checks whether the archive key of the own objectAutomation Engine controlled activities and processes are structured in the form of objects. See also: Task only includes lowercase letters.
:SET &VAR# = GET_ATT(ARCHIVE_KEY1)
:SET &CHECK# = STR_ISLOWER(&VAR#)
:IF &CHECK# EQ "Y"
: P "ArchiveKey1 only includes lowercase letters."
:ENDIF
See also:
Script Elements | Description |
---|---|
Checks whether the characters of a certain string are written in uppercase letters. |
About Scripts
Script Elements - Alphabetical Listing
Script Elements - Ordered by Function
Automic Documentation - Tutorials - Automic Blog - Resources - Training & Services - Automic YouTube Channel - Download Center - Support |
Copyright © 2016 Automic Software GmbH |