Check if object is null

how to check if object of String type is null

If MyVar is a variable of type String, use an If activity with condition MyVar Is Nothing. If you also want to check if it’s empty, use condition String.IsNullOrEmpty(MyVar). If you only want to check if it’s empty, use MyVar = String.Empty.

1 Like

@Ananya1 - you can try

IsNothing(object)

you can use String.isEmptyOrNull