.net - String.Join method that ignores empty strings? - Stack Overflow

PHOTO EMBED

Mon Jul 11 2022 02:46:07 GMT+0000 (Coordinated Universal Time)

Saved by @p83arch #vb

String.Join(",", myArray.Where(Function(s) Not String.IsNullOrEmpty(s)))
content_copyCOPY

https://stackoverflow.com/questions/16325995/string-join-method-that-ignores-empty-strings