Join Slack
Powered by
How could I get the last word of a string with Kot...
# android
w
walmyrcarvalho
02/21/2017, 9:15 PM
How could I get the last word of a string with Kotlin? A colleague at work suggested this:
"Hello Kotlin".split("\\s").lastOrNull()
Open in Slack
Previous
Next