Add Regex splitToSequence samples

This commit is contained in:
Abduqodiri Qurbonzoda
2021-07-23 13:29:04 +03:00
committed by Space
parent e691de6e4c
commit d7b10f31b4
8 changed files with 30 additions and 0 deletions
@@ -1379,6 +1379,7 @@ public inline fun CharSequence.split(regex: Regex, limit: Int = 0): List<String>
*
* @param limit Non-negative value specifying the maximum number of substrings to return.
* Zero by default means no limit is set.
* @sample samples.text.Strings.splitToSequence
*/
@SinceKotlin("1.5")
@ExperimentalStdlibApi