Join Slack
Powered by
what is Kotlin equivalent of this Java's code: `st...
# announcements
m
mending3
02/10/2021, 5:06 AM
what is Kotlin equivalent of this Java's code:
str.charAt(str.length() -1) == ' '
t
thanksforallthefish
02/10/2021, 5:09 AM
I’d go for
str.last() == ' '
👍 2
10
Views
Open in Slack
Previous
Next