Splits the string into a list of substrings around the given delimiters.
Syntax
str.split(vararg delimiters)Example
Enter values below to update the example in real time.
val→parts→split→println→val parts = "a,b,c".split(",")
println(parts) // [a, b, c]