0

I have four fields to get concatenated with comma separator but if any of the field is blank, additional comma will not be added.

For example - Var1 + Var2 + Var3 + Var4

If Var1 is blank then output should be

Var2, Var3,Var4

I am using Java 6

I tried to follow the link but getting version issue. Please share solution which is compatible with lower version of java Join comma if not empty or null

0 Answers0