Combine Lists with separator and empty strings

Hello,

I want to combine two lists with a separator "-" only when they are not empty. Any suggestion?

what is your expected result?

It should be like this

Hello,
you could try something like this.

3 Likes

Neat. Thanks a ton.