If condition problem!

How to write an if condition in an assign statement in a for empty string???
Is this possible and how to do it

@Gaurav_Gore
You can assign an if condition in assign like this

var1 = if(String.isnullorempty(var2)=True,"empty","not empty")

Hi @Gaurav_Gore

Try this

var = If(String.IsNullOrEmpty(inputString), "EmptyValue", inputString)

Regards,

Thanks a lot @muktadir

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.