kotlin.text.splitToSequence
splitToSequence
fun CharSequence.splitToSequence( vararg delimiters: String, ignoreCase: Boolean = false, limit: Int = 0 ): Sequence<String>
Splits this char sequence to a sequence of strings around occurrences of the specified delimiters.
Parameters
delimiters
- One or more strings to be used as delimiters.
ignoreCase
- true
to ignore character case when matching a delimiter. By default false登录查看完整内容