String.Join method that ignores empty strings?
You can do it like this in CSharp:
String.Join(",", arr.Where(s => !String.IsNullOrEmpty(s)));
VB.NET
String.Join(",", myArray.Where(Function(s) Not String.IsNullOrEmpty(s)))
C#
String.Join(",", myArray.Where(s => !string.IsNullOrEmpty(s)))