split

expect fun split(input: CharSequence, limit: Int = 0): List<String>(source)

Splits the input CharSequence to a list of strings around matches of this regular expression.

Since Kotlin

1.0

Parameters

limit

Non-negative value specifying the maximum number of substrings the string can be split to. Zero by default means no limit is set.

actual fun split(input: CharSequence, limit: Int = 0): List<String>(source)

Splits the input CharSequence to a list of strings around matches of this regular expression.

Since Kotlin

1.1

Parameters

limit

Non-negative value specifying the maximum number of substrings the string can be split to. Zero by default means no limit is set.

actual fun split(input: CharSequence, limit: Int = 0): List<String>(source)

Splits the input CharSequence to a list of strings around matches of this regular expression.

Since Kotlin

1.0

Parameters

limit

Non-negative value specifying the maximum number of substrings the string can be split to. Zero by default means no limit is set.

actual fun split(input: CharSequence, limit: Int = 0): List<String>(source)

Splits the input CharSequence to a list of strings around matches of this regular expression.

Since Kotlin

1.3

Parameters

limit

Non-negative value specifying the maximum number of substrings the string can be split to. Zero by default means no limit is set.