https://kotlinlang.org logo
t

tipsy

11/29/2018, 6:18 PM
i'm looking for a neat oneliner to split a string into a
Pair<String, String>
on the first space
Hi my name is Greg
->
Pair("Hi" "my name is Greg")