Idea: A `joinToString` parameter which allows some...
# stdlib
m
Idea: A
joinToString
parameter which allows something like that:
Copy code
listOf(1,2,3,4).joinToString(separator = ", ", lastSeparator = " or ")
->
"1, 2, 3 or 4"
👍 1
These parameters won't help to achieve that result 😕
s
oh, I misunderstood what you were going for