splitToSequence
Splits this char sequence to a sequence of strings around occurrences of the specified delimiters.
Since Kotlin
1.1Parameters
One or more strings to be used as delimiters.
true
to ignore character case when matching a delimiter. By default false
.
The maximum number of substrings to return. Zero by default means no limit is set.
To avoid ambiguous results when strings in delimiters have characters in common, this method proceeds from the beginning to the end of this string, and finds at each position the first element in delimiters that matches this string at that position.
Splits this char sequence to a sequence of strings around occurrences of the specified delimiters.
Since Kotlin
1.1Parameters
One or more characters to be used as delimiters.
true
to ignore character case when matching a delimiter. By default false
.
The maximum number of substrings to return.
Splits this char sequence to a sequence of strings around occurrences of the specified delimiters.
Since Kotlin
1.0Parameters
One or more strings to be used as delimiters.
true
to ignore character case when matching a delimiter. By default false
.
The maximum number of substrings to return. Zero by default means no limit is set.
To avoid ambiguous results when strings in delimiters have characters in common, this method proceeds from the beginning to the end of this string, and finds at each position the first element in delimiters that matches this string at that position.
Splits this char sequence to a sequence of strings around occurrences of the specified delimiters.
Since Kotlin
1.0Parameters
One or more characters to be used as delimiters.
true
to ignore character case when matching a delimiter. By default false
.
The maximum number of substrings to return.