commaSeparatedPattern

fun String.commaSeparatedPattern(vararg delimiters: String = arrayOf(",")): Sequence<String>

Splits given String into a sequence of strings splited by the provided delimiters ("," by default).

It also trims the strings and removes the empty ones