I saw this answer of how to join String[] to comma separated string.
However I need the util to join the string in the array only if the values are not empty.
What is the best way to do it? without looping before on the String[] to remove. I prefer one method that does both.
EDITED
for instance:
I, love, , u
will be:
I love u