Put a `.filterNonNull()` inbetween?
# announcements
k
Put a
.filterNonNull()
inbetween?
😄 1
c
I'm definitely tired 😄 Thanks, mate.
k
No problem! Also worth noting that empty strings are "skipped" automatically.
c
even better
listOfNotNull(el1, el2..)
They aren't,
Copy code
listOf<String?>("", "meow", "").joinToString(" ;").let(::println)
 ;meow ;
k
Looks I need to get some sleep as well, didn't even think about the separators.
🙂 1