How could I split a String into an array in Kotlin? January 31, 2023 by Tarik val strs = "name, 2012, 2017".split(",").toTypedArray()