IsNullorEmpty (StringValue)
Last updated
Last updated
© Copyright 2023, Astera Software
Name
IsNullOrEmpty (String)
Syntax
IsNullOrEmpty (String val)
Purpose
To determine whether a string is null or if its length is zero.
Description
Returns true if the specified parameter contains a null value or if string length is zero.
Return Type
Boolean
Parameters
val [System.String] – Expression that will be evaluated
Example
In this example, we will pass a null value to the function transformation object using a Variables object.
In the output, you can see that the Boolean value, True, has been returned as the passed value was empty or null.