+ 2
What is the code to split multiple items of input in Kotlin ?
I make some code in Kotlin, and now, I'm blocked by a question : What is the code to split multiple items of input in Kotlin ? If you know how to make this, please send a answer with the following code... Thank you very much !
1 Odpowiedź
+ 1
You could take the items as one string where each different item is separated by a space. You wold then split the string into an array and that’s it.