Join Slack
Powered by
any idea if there is an wasy way in kotlin to enco...
# announcements
t
thana
09/23/2019, 1:52 PM
any idea if there is an wasy way in kotlin to encode html entities in strings?
s
streetsofboston
09/23/2019, 1:59 PM
What do you mean by ‘easy’?
m
Matteo Mirk
09/23/2019, 2:28 PM
maybe they mean as in ‘provided by standard library’; if that’s the case, I don’t think there’s any in the stdlib. You should use a dedicated library
s
sciack
09/23/2019, 4:11 PM
I think you can still use the Apache Commons Lang and wrap the function in an extensiob function of string.
t
thana
09/24/2019, 1:53 PM
will do, thanks
2
Views
Open in Slack
Previous
Next