function split
source · line 9public
public fun Regex.split(input: String, limit: Long = 0L): List<String>
Extension receiver: Regex
Splits on matches, retaining empty segments and omitting delimiter captures. Zero limit means unlimited; a positive limit leaves the remaining text in the final segment. Negative limits throw.
parameter input
source · line 9public
input: String
parameter limit
source · line 9public
limit: Long = 0L
parameter receiver
source · line 9public
Regex