Hi Guys!
Do we have best practices done in creating a UDF?
I have a UDF to compare a string.
Which is better?
UDF 1:
if (var1 != null && var1 != "") vs if (var1 != null && !var1.isEmpty()
UDF 2:
if (var1 == STRING)) vs if (var1.equals("STRING"))
Thanks,
Neil