kotlin.text.split
split
fun CharSequence.split( vararg delimiters: String, ignoreCase: Boolean = false, limit: Int = 0 ): List<String>
Splits this char sequence to a list 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
.
limit
-
The maximum number of substring