~`val result = "Foo, Bar, , ".split(", ".toRegex()...
# random
k
val result = "Foo, Bar, , ".split(", ".toRegex()).toTypedArray()
doesn't output the empty strings either, so I don't know what's up with it.