IsLower

Name

IsLower

Syntax

IsLower (String str)

Purpose

To check whether the specified character within a string, in the specified index position, is lowercase alphabetic.

Description

Checks whether specified character is lowercase alphabetic.

Return Type

Boolean

Parameters

str [System.String] – String containing the character to test

index [System.Int32] – Numerical position of the character in the string to test. If not specified, index is presumed to be 0

Example

In this example, we are passing the required parameters to the function transformation object using a Variables object.

Where,

str = aAbBcC

index = 0

Right-click on the function transformation object and select Preview Output. You can see that Astera Data Stack has returned “True”, as the character in the specified numerical position is a lowercase alphabet.

Conversely, if we replace the index value with “1”, the output value will return the Boolean value, “False”, as shown below:

Last updated

© Copyright 2023, Astera Software