Skip to main content

how to compare empty with a string 
 

 

Create a string variable and don’t assign any default value, also make it constant. Eg: EMPTY_STRING
You can compare this variable for equality: if $ReceiptReceivedString$ = $EMPTY_STRING$

You can also trim the input value then compare for empty.


@lathab 

 


Reply