Re: How can I check for empty or null string with ValueBuilder?

2018-06-15 Thread Claus Ibsen
Hi You can try with simple and the null safe operator and invoke the isEmpty method on String type "${exchangeProperty.?foo.isEmpty()}" On Fri, Jun 15, 2018 at 4:12 PM, Steve973 wrote: > If I have a choice block, and if I want to examine an exchange property > with is supposed to be set as

How can I check for empty or null string with ValueBuilder?

2018-06-15 Thread Steve973
If I have a choice block, and if I want to examine an exchange property with is supposed to be set as a String, how can I check if it's empty or null? I can check for empty with exchangeProperty(PROPERTY_NAME).isNull(), but how can I add the check for an empty string too?